Class IndexModel
Inherited Members
Namespace: Volo.Forms.Web.Pages.Forms.Questions
Assembly: Volo.Forms.Web.dll
Syntax
public class IndexModel : FormsPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
IndexModel(IFormAppService)
Declaration
public IndexModel(IFormAppService formAppService)
Parameters
Type | Name | Description |
---|---|---|
IFormAppService | formAppService |
Properties
FormAppService
Declaration
protected IFormAppService FormAppService { get; }
Property Value
Type | Description |
---|---|
IFormAppService |
Id
Declaration
[Required]
[BindProperty(SupportsGet = true)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
ResponseCount
Declaration
public long ResponseCount { get; set; }
Property Value
Type | Description |
---|---|
long |
Methods
OnGetAsync()
Declaration
public virtual Task<IActionResult> OnGetAsync()
Returns
Type | Description |
---|---|
Task<IActionResult> |
OnPostAsync()
Declaration
public virtual Task<IActionResult> OnPostAsync()
Returns
Type | Description |
---|---|
Task<IActionResult> |