Class PageAdminClientProxy
Implements
Inherited Members
Namespace: Volo.CmsKit.Admin.Pages
Assembly: Volo.CmsKit.Admin.HttpApi.Client.dll
Syntax
[Dependency(ReplaceServices = true)]
[ExposeServices(new Type[] { typeof(IPageAdminAppService), typeof(PageAdminClientProxy) })]
public class PageAdminClientProxy : ClientProxyBase<IPageAdminAppService>, ITransientDependency, IPageAdminAppService, ICrudAppService<PageDto, PageDto, Guid, GetPagesInputDto, CreatePageInputDto, UpdatePageInputDto>, IReadOnlyAppService<PageDto, PageDto, Guid, GetPagesInputDto>, ICreateUpdateAppService<PageDto, Guid, CreatePageInputDto, UpdatePageInputDto>, ICreateAppService<PageDto, CreatePageInputDto>, IUpdateAppService<PageDto, Guid, UpdatePageInputDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
Constructors
PageAdminClientProxy()
Declaration
public PageAdminClientProxy()
Methods
CreateAsync(CreatePageInputDto)
Declaration
public virtual Task<PageDto> CreateAsync(CreatePageInputDto input)
Parameters
Type | Name | Description |
---|---|---|
CreatePageInputDto | input |
Returns
Type | Description |
---|---|
Task<PageDto> |
DeleteAsync(Guid)
Declaration
public virtual Task DeleteAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |
GetAsync(Guid)
Declaration
public virtual Task<PageDto> GetAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<PageDto> |
GetListAsync(GetPagesInputDto)
Declaration
public virtual Task<PagedResultDto<PageDto>> GetListAsync(GetPagesInputDto input)
Parameters
Type | Name | Description |
---|---|---|
GetPagesInputDto | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<PageDto>> |
SetAsHomePageAsync(Guid)
Declaration
public virtual Task SetAsHomePageAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task |
UpdateAsync(Guid, UpdatePageInputDto)
Declaration
public virtual Task<PageDto> UpdateAsync(Guid id, UpdatePageInputDto input)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
UpdatePageInputDto | input |
Returns
Type | Description |
---|---|
Task<PageDto> |