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