Class CreateModalModel
Inherited Members
Namespace: Volo.CmsKit.Admin.Web.Pages.CmsKit.Tags
Assembly: Volo.CmsKit.Admin.Web.dll
Syntax
public class CreateModalModel : CmsKitAdminPageModel, IAsyncPageFilter, IPageFilter, IFilterMetadata
Constructors
CreateModalModel(ITagAdminAppService)
Declaration
public CreateModalModel(ITagAdminAppService tagAdminAppService)
Parameters
Type | Name | Description |
---|---|---|
ITagAdminAppService | tagAdminAppService |
Properties
TagAdminAppService
Declaration
protected ITagAdminAppService TagAdminAppService { get; }
Property Value
Type | Description |
---|---|
ITagAdminAppService |
TagDefinitions
Declaration
public List<SelectListItem> TagDefinitions { get; set; }
Property Value
Type | Description |
---|---|
List<SelectListItem> |
ViewModel
Declaration
[BindProperty]
public CreateModalModel.TagCreateViewModel ViewModel { get; set; }
Property Value
Type | Description |
---|---|
CreateModalModel.TagCreateViewModel |
Methods
OnGetAsync()
Declaration
public Task OnGetAsync()
Returns
Type | Description |
---|---|
Task |
OnPostAsync()
Declaration
public Task<IActionResult> OnPostAsync()
Returns
Type | Description |
---|---|
Task<IActionResult> |