Table of Contents

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 EntityService
formEventHandlerFactory IFormEventHandlerResolver
gridEventHandlerResolver IGridEventHandlerResolver

Methods

Edit(EntityViewModel)

[HttpPost]
public Task<ActionResult> Edit(EntityViewModel model)

Parameters

model EntityViewModel

Returns

Task<ActionResult>

Edit(string)

public Task<IActionResult> Edit(string elementName)

Parameters

elementName string

Returns

Task<IActionResult>

Index(EntityViewModel)

[HttpPost]
public Task<ActionResult> Index(EntityViewModel model)

Parameters

model EntityViewModel

Returns

Task<ActionResult>

Index(string)

public Task<IActionResult> Index(string elementName)

Parameters

elementName string

Returns

Task<IActionResult>