Class PollAdminClientProxy
Implements
Inherited Members
Namespace: Volo.CmsKit.Admin.Polls
Assembly: Volo.CmsKit.Pro.Admin.HttpApi.Client.dll
Syntax
[Dependency(ReplaceServices = true)]
[ExposeServices(new Type[] { typeof(IPollAdminAppService), typeof(PollAdminClientProxy) })]
public class PollAdminClientProxy : ClientProxyBase<IPollAdminAppService>, ITransientDependency, IPollAdminAppService, ICrudAppService<PollWithDetailsDto, PollDto, Guid, GetPollListInput, CreatePollDto, UpdatePollDto>, IReadOnlyAppService<PollWithDetailsDto, PollDto, Guid, GetPollListInput>, ICreateUpdateAppService<PollWithDetailsDto, Guid, CreatePollDto, UpdatePollDto>, ICreateAppService<PollWithDetailsDto, CreatePollDto>, IUpdateAppService<PollWithDetailsDto, Guid, UpdatePollDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
Constructors
PollAdminClientProxy()
Declaration
public PollAdminClientProxy()
Methods
CreateAsync(CreatePollDto)
Declaration
public virtual Task<PollWithDetailsDto> CreateAsync(CreatePollDto input)
Parameters
Type | Name | Description |
---|---|---|
CreatePollDto | input |
Returns
Type | Description |
---|---|
Task<PollWithDetailsDto> |
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<PollWithDetailsDto> GetAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<PollWithDetailsDto> |
GetListAsync(GetPollListInput)
Declaration
public virtual Task<PagedResultDto<PollDto>> GetListAsync(GetPollListInput input)
Parameters
Type | Name | Description |
---|---|---|
GetPollListInput | input |
Returns
Type | Description |
---|---|
Task<PagedResultDto<PollDto>> |
GetResultAsync(Guid)
Declaration
public virtual Task<GetResultDto> GetResultAsync(Guid id)
Parameters
Type | Name | Description |
---|---|---|
Guid | id |
Returns
Type | Description |
---|---|
Task<GetResultDto> |
GetWidgetsAsync()
Declaration
public virtual Task<ListResultDto<PollWidgetDto>> GetWidgetsAsync()
Returns
Type | Description |
---|---|
Task<ListResultDto<PollWidgetDto>> |
UpdateAsync(Guid, UpdatePollDto)
Declaration
public virtual Task<PollWithDetailsDto> UpdateAsync(Guid id, UpdatePollDto input)
Parameters
Type | Name | Description |
---|---|---|
Guid | id | |
UpdatePollDto | input |
Returns
Type | Description |
---|---|
Task<PollWithDetailsDto> |