View Source
Class DeleteDocumentTypeController
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public class DeleteDocumentTypeController : DocumentTypeControllerBase
Constructors
View Source
DeleteDocumentTypeController(IContentTypeService, IBackOfficeSecurityAccessor)
Declaration
public DeleteDocumentTypeController(IContentTypeService contentTypeService, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
Parameters
Type |
Name |
Description |
IContentTypeService |
contentTypeService |
|
IBackOfficeSecurityAccessor |
backOfficeSecurityAccessor |
|
Methods
View Source
Delete(CancellationToken, Guid)
Declaration
public async Task<IActionResult> Delete(CancellationToken cancellationToken, Guid id)
Parameters
Type |
Name |
Description |
CancellationToken |
cancellationToken |
|
Guid |
id |
|
Returns
Type |
Description |
Task<IActionResult> |
|