Search Results for

    Show / Hide Table of Contents
    View Source

    Class CreateDictionaryController

    Inheritance
    System.Object
    ManagementApiControllerBase
    DictionaryControllerBase
    Namespace: Umbraco.Cms.ManagementApi.Controllers.Dictionary
    Assembly: Umbraco.Cms.ManagementApi.dll
    Syntax
    public class CreateDictionaryController : DictionaryControllerBase

    Constructors

    View Source

    CreateDictionaryController(ILocalizationService, ILocalizedTextService, IOptionsSnapshot<GlobalSettings>, IBackOfficeSecurityAccessor, ILogger<CreateDictionaryController>)

    Declaration
    public CreateDictionaryController(ILocalizationService localizationService, ILocalizedTextService localizedTextService, IOptionsSnapshot<GlobalSettings> globalSettings, IBackOfficeSecurityAccessor backofficeSecurityAccessor, ILogger<CreateDictionaryController> logger)
    Parameters
    Type Name Description
    ILocalizationService localizationService
    ILocalizedTextService localizedTextService
    IOptionsSnapshot<GlobalSettings> globalSettings
    IBackOfficeSecurityAccessor backofficeSecurityAccessor
    ILogger<CreateDictionaryController> logger

    Methods

    View Source

    Create(DictionaryItemViewModel)

    Creates a new dictionary item

    Declaration
    public async Task<ActionResult<int>> Create(DictionaryItemViewModel dictionaryViewModel)
    Parameters
    Type Name Description
    DictionaryItemViewModel dictionaryViewModel

    The viewmodel to pass to the action

    Returns
    Type Description
    Task<ActionResult<System.Int32>>

    The .

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CreateDictionaryController(ILocalizationService, ILocalizedTextService, IOptionsSnapshot<GlobalSettings>, IBackOfficeSecurityAccessor, ILogger<CreateDictionaryController>)
    • Methods
      • Create(DictionaryItemViewModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX