Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

DictionaryController

API reference for DictionaryController in Vendr, the eCommerce solution for Umbraco v8+

DictionaryController

public class DictionaryController : VendrAuthorizedJsonControllerBase

Inheritance

Namespace

Constructors

DictionaryController

public DictionaryController(UmbracoControllerContext umbracoContext, IStoreService storeService)

Methods

CreateDictionaryItem

public DictionaryDisplay CreateDictionaryItem(int parentId, string key)

EnsureRootDictionaryItem

public int EnsureRootDictionaryItem(string key)

GetDictionaryItemById

public DictionaryDisplay GetDictionaryItemById(int id)

GetDictionaryItemByKey

public DictionaryDisplay GetDictionaryItemByKey(string key)

SaveDictionaryItem

public DictionaryDisplay SaveDictionaryItem(DictionarySave dictionary)

SearchKeys

public IEnumerable<string> SearchKeys(DictionarySearchDto model)

TryGetDictionaryItemIdByKey

public int? TryGetDictionaryItemIdByKey(string key)

Edit this page on GitHub

Site + logo design © 2021 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.