Table of Contents

Class IndexesController

Namespace
JJMasterData.Web.Areas.DataDictionary.Controllers
Assembly
JJMasterData.Web.dll
public class IndexesController : DataDictionaryController, IActionFilter, IAsyncActionFilter, IFilterMetadata, IDisposable
Inheritance
IndexesController
Implements
Inherited Members

Constructors

IndexesController(IndexesService)

public IndexesController(IndexesService indexesService)

Parameters

indexesService IndexesService

Properties

CheckboxList

[ViewData]
public List<SelectListItem> CheckboxList { get; set; }

Property Value

List<SelectListItem>

ElementName

[ViewData]
public string ElementName { get; set; }

Property Value

string

IndexName

[ViewData]
public string IndexName { get; set; }

Property Value

string

MenuId

[ViewData]
public string MenuId { get; set; }

Property Value

string

Methods

Delete(string, string)

[HttpPost]
public Task<ActionResult> Delete(string elementName, string index)

Parameters

elementName string
index string

Returns

Task<ActionResult>

Detail(string, string)

public Task<ActionResult> Detail(string elementName, string index)

Parameters

elementName string
index string

Returns

Task<ActionResult>

Detail(string, string?, List<SelectListItem>, ElementIndex)

[HttpPost]
public Task<ActionResult> Detail(string elementName, string? index, List<SelectListItem> checkBoxList, ElementIndex elementIndex)

Parameters

elementName string
index string
checkBoxList List<SelectListItem>
elementIndex ElementIndex

Returns

Task<ActionResult>

Index(string)

public Task<ActionResult> Index(string elementName)

Parameters

elementName string

Returns

Task<ActionResult>

Index(string, string)

[HttpPost]
public Task<ActionResult> Index(string elementName, string filter)

Parameters

elementName string
filter string

Returns

Task<ActionResult>

MoveDown(string, string)

[HttpPost]
public Task<ActionResult> MoveDown(string elementName, string index)

Parameters

elementName string
index string

Returns

Task<ActionResult>

MoveUp(string, string)

[HttpPost]
public Task<ActionResult> MoveUp(string elementName, string index)

Parameters

elementName string
index string

Returns

Task<ActionResult>

PopulateViewData(string)

public void PopulateViewData(string elementName)

Parameters

elementName string