View Source
Class DeleteDictionaryController
Inheritance
System.Object
Assembly: Umbraco.Cms.ManagementApi.dll
Syntax
public class DeleteDictionaryController : DictionaryControllerBase
Constructors
View Source
DeleteDictionaryController(ILocalizationService, IBackOfficeSecurityAccessor)
Declaration
public DeleteDictionaryController(ILocalizationService localizationService, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
Parameters
Type |
Name |
Description |
ILocalizationService |
localizationService |
|
IBackOfficeSecurityAccessor |
backOfficeSecurityAccessor |
|
Methods
View Source
Delete(Guid)
Deletes a data type with a given ID
Declaration
public async Task<IActionResult> Delete(Guid key)
Parameters
Type |
Name |
Description |
Guid |
key |
The key of the dictionary item to delete
|
Returns
Type |
Description |
Task<IActionResult> |
|