Class PanelController
- Namespace
- JJMasterData.Web.Areas.DataDictionary.Controllers
- Assembly
- JJMasterData.Web.dll
public class PanelController : DataDictionaryController, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
- Inheritance
-
PanelController
- Implements
- Inherited Members
Constructors
PanelController(PanelService)
public PanelController(PanelService panelService)
Parameters
panelService
PanelService
Methods
Add(string)
public Task<IActionResult> Add(string elementName)
Parameters
elementName
string
Returns
Copy(string, FormElementPanel)
[HttpPost]
public Task<IActionResult> Copy(string elementName, FormElementPanel panel)
Parameters
elementName
stringpanel
FormElementPanel
Returns
Delete(string, int)
public Task<IActionResult> Delete(string elementName, int panelId)
Parameters
Returns
Detail(string, int)
public Task<IActionResult> Detail(string elementName, int panelId)
Parameters
Returns
GetAvailableFields(FormElement)
protected List<FormElementField> GetAvailableFields(FormElement formElement)
Parameters
formElement
FormElement
Returns
Index(string, FormElementPanel)
[HttpPost]
public Task<IActionResult> Index(string elementName, FormElementPanel panel)
Parameters
elementName
stringpanel
FormElementPanel
Returns
Index(string, int?)
public Task<ActionResult> Index(string elementName, int? panelId = null)
Parameters
Returns
Save(string, FormElementPanel, string?)
[HttpPost]
public Task<IActionResult> Save(string elementName, FormElementPanel panel, string? selectedFields)
Parameters
elementName
stringpanel
FormElementPanelselectedFields
string
Returns
Sort(string, string)
[HttpPost]
public Task<IActionResult> Sort(string elementName, string fieldsOrder)