Table of Contents

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

Task<IActionResult>

Copy(string, FormElementPanel)

[HttpPost]
public Task<IActionResult> Copy(string elementName, FormElementPanel panel)

Parameters

elementName string
panel FormElementPanel

Returns

Task<IActionResult>

Delete(string, int)

public Task<IActionResult> Delete(string elementName, int panelId)

Parameters

elementName string
panelId int

Returns

Task<IActionResult>

Detail(string, int)

public Task<IActionResult> Detail(string elementName, int panelId)

Parameters

elementName string
panelId int

Returns

Task<IActionResult>

GetAvailableFields(FormElement)

protected List<FormElementField> GetAvailableFields(FormElement formElement)

Parameters

formElement FormElement

Returns

List<FormElementField>

Index(string, FormElementPanel)

[HttpPost]
public Task<IActionResult> Index(string elementName, FormElementPanel panel)

Parameters

elementName string
panel FormElementPanel

Returns

Task<IActionResult>

Index(string, int?)

public Task<ActionResult> Index(string elementName, int? panelId = null)

Parameters

elementName string
panelId int?

Returns

Task<ActionResult>

Save(string, FormElementPanel, string?)

[HttpPost]
public Task<IActionResult> Save(string elementName, FormElementPanel panel, string? selectedFields)

Parameters

elementName string
panel FormElementPanel
selectedFields string

Returns

Task<IActionResult>

Sort(string, string)

[HttpPost]
public Task<IActionResult> Sort(string elementName, string fieldsOrder)

Parameters

elementName string
fieldsOrder string

Returns

Task<IActionResult>