Search Results for

    Show / Hide Table of Contents
    View Source

    Class UpdateCreatedPackageController

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

    Constructors

    View Source

    UpdateCreatedPackageController(IPackagingService, IUmbracoMapper, IBackOfficeSecurityAccessor)

    Declaration
    public UpdateCreatedPackageController(IPackagingService packagingService, IUmbracoMapper umbracoMapper, IBackOfficeSecurityAccessor backOfficeSecurityAccessor)
    Parameters
    Type Name Description
    IPackagingService packagingService
    IUmbracoMapper umbracoMapper
    IBackOfficeSecurityAccessor backOfficeSecurityAccessor

    Methods

    View Source

    Update(CancellationToken, Guid, UpdatePackageRequestModel)

    Updates a package.

    Declaration
    public async Task<IActionResult> Update(CancellationToken cancellationToken, Guid id, UpdatePackageRequestModel updatePackageRequestModel)
    Parameters
    Type Name Description
    CancellationToken cancellationToken
    Guid id

    The id of the package.

    UpdatePackageRequestModel updatePackageRequestModel

    The model containing the data for updating a package.

    Returns
    Type Description
    Task<IActionResult>

    The created package.

    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UpdateCreatedPackageController(IPackagingService, IUmbracoMapper, IBackOfficeSecurityAccessor)
    • Methods
      • Update(CancellationToken, Guid, UpdatePackageRequestModel)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX