Table of Contents

Class IndexesService

Namespace
JJMasterData.Core.DataDictionary.Services
Assembly
JJMasterData.Core.dll
public class IndexesService : DataDictionaryServiceBase
Inheritance
IndexesService
Inherited Members

Constructors

IndexesService(IValidationDictionary, IDataDictionaryRepository, IStringLocalizer<MasterDataResources>)

public IndexesService(IValidationDictionary validationDictionary, IDataDictionaryRepository dataDictionaryRepository, IStringLocalizer<MasterDataResources> stringLocalizer)

Parameters

validationDictionary IValidationDictionary
dataDictionaryRepository IDataDictionaryRepository
stringLocalizer IStringLocalizer<MasterDataResources>

Methods

DeleteAsync(string, string)

public Task DeleteAsync(string elementName, string index)

Parameters

elementName string
index string

Returns

Task

MoveDownAsync(string, string)

public Task MoveDownAsync(string elementName, string index)

Parameters

elementName string
index string

Returns

Task

MoveUpAsync(string, string)

public Task MoveUpAsync(string elementName, string index)

Parameters

elementName string
index string

Returns

Task

SaveAsync(string, string, ElementIndex)

public Task<bool> SaveAsync(string id, string index, ElementIndex elementIndex)

Parameters

id string
index string
elementIndex ElementIndex

Returns

Task<bool>

Validate(ElementIndex)

public bool Validate(ElementIndex elementIndext)

Parameters

elementIndext ElementIndex

Returns

bool