Search Results for

    Show / Hide Table of Contents
    View Source

    Class ImportNewMediaTypeController

    Inheritance
    System.Object
    ManagementApiControllerBase
    MediaTypeControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.MediaType
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class ImportNewMediaTypeController : MediaTypeControllerBase

    Constructors

    View Source

    ImportNewMediaTypeController(IBackOfficeSecurityAccessor, IMediaTypeImportService)

    Declaration
    public ImportNewMediaTypeController(IBackOfficeSecurityAccessor backOfficeSecurityAccessor, IMediaTypeImportService mediaTypeImportService)
    Parameters
    Type Name Description
    IBackOfficeSecurityAccessor backOfficeSecurityAccessor
    IMediaTypeImportService mediaTypeImportService

    Methods

    View Source

    Import(CancellationToken, ImportMediaTypeRequestModel)

    Declaration
    public async Task<IActionResult> Import(CancellationToken cancellationToken, ImportMediaTypeRequestModel model)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    ImportMediaTypeRequestModel model
    Returns
    Type Description
    Task<IActionResult>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • ImportNewMediaTypeController(IBackOfficeSecurityAccessor, IMediaTypeImportService)
    • Methods
      • Import(CancellationToken, ImportMediaTypeRequestModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX