Class EntityController
- Namespace
- JJMasterData.Web.Areas.DataDictionary.Controllers
- Assembly
- JJMasterData.Web.dll
public class EntityController : DataDictionaryController, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
- Inheritance
-
EntityController
- Implements
- Inherited Members
Constructors
EntityController(EntityService, IFormEventHandlerResolver?, IGridEventHandlerResolver?)
public EntityController(EntityService entityService, IFormEventHandlerResolver? formEventHandlerFactory = null, IGridEventHandlerResolver? gridEventHandlerResolver = null)
Parameters
entityService
EntityServiceformEventHandlerFactory
IFormEventHandlerResolvergridEventHandlerResolver
IGridEventHandlerResolver
Methods
Edit(EntityViewModel)
[HttpPost]
public Task<ActionResult> Edit(EntityViewModel model)
Parameters
model
EntityViewModel
Returns
Edit(string)
public Task<IActionResult> Edit(string elementName)
Parameters
elementName
string
Returns
Index(EntityViewModel)
[HttpPost]
public Task<ActionResult> Index(EntityViewModel model)
Parameters
model
EntityViewModel
Returns
Index(string)
public Task<IActionResult> Index(string elementName)
Parameters
elementName
string