Search Results for

    Show / Hide Table of Contents
    View Source

    Class CreateCreatedPackageController

    Inheritance
    System.Object
    ManagementApiControllerBase
    PackageControllerBase
    CreatedPackageControllerBase
    Namespace: Umbraco.Cms.Api.Management.Controllers.Package.Created
    Assembly: Umbraco.Cms.Api.Management.dll
    Syntax
    public class CreateCreatedPackageController : CreatedPackageControllerBase

    Constructors

    View Source

    CreateCreatedPackageController(IPackagingService, IPackagePresentationFactory, IBackOfficeSecurityAccessor)

    Declaration
    public CreateCreatedPackageController(IPackagingService packagingService, IPackagePresentationFactory packagePresentationFactory, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
    Parameters
    Type Name Description
    IPackagingService packagingService
    IPackagePresentationFactory packagePresentationFactory
    IBackOfficeSecurityAccessor backOfficeSecurityAccessor

    Methods

    View Source

    Create(CancellationToken, CreatePackageRequestModel)

    Creates a package.

    Declaration
    public async Task<IActionResult> Create(CancellationToken cancellationToken, CreatePackageRequestModel createPackageRequestModel)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    CreatePackageRequestModel createPackageRequestModel

    The model containing the data for a new package.

    Returns
    Type Description
    Task<IActionResult>

    The created package.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • CreateCreatedPackageController(IPackagingService, IPackagePresentationFactory, IBackOfficeSecurityAccessor)
    • Methods
      • Create(CancellationToken, CreatePackageRequestModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX