Class PreviewModel
Inherited Members
Namespace: Volo.Forms.Web.Pages.Forms
Assembly: Volo.Forms.Web.dll
Syntax
public class PreviewModel : FormsPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
PreviewModel(IFormAppService)
Declaration
public PreviewModel(IFormAppService formAppService)
Parameters
| Type | Name | Description |
|---|---|---|
| IFormAppService | formAppService |
Properties
Id
Declaration
[Required]
[BindProperty(SupportsGet = true)]
public Guid Id { get; set; }
Property Value
| Type | Description |
|---|---|
| Guid |
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> |