Class UrlShortingAdminClientProxy
Implements
Inherited Members
Namespace: Volo.CmsKit.Admin.UrlShorting
Assembly: Volo.CmsKit.Pro.Admin.HttpApi.Client.dll
Syntax
[Dependency(ReplaceServices = true)]
[ExposeServices(new Type[] { typeof(IUrlShortingAdminAppService), typeof(UrlShortingAdminClientProxy) })]
public class UrlShortingAdminClientProxy : ClientProxyBase<IUrlShortingAdminAppService>, ITransientDependency, IUrlShortingAdminAppService, ICrudAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput, CreateShortenedUrlDto, UpdateShortenedUrlDto>, IReadOnlyAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput>, ICreateUpdateAppService<ShortenedUrlDto, Guid, CreateShortenedUrlDto, UpdateShortenedUrlDto>, ICreateAppService<ShortenedUrlDto, CreateShortenedUrlDto>, IUpdateAppService<ShortenedUrlDto, Guid, UpdateShortenedUrlDto>, IDeleteAppService<Guid>, IApplicationService, IRemoteService
Constructors
UrlShortingAdminClientProxy()
Declaration
public UrlShortingAdminClientProxy()
Methods
CreateAsync(CreateShortenedUrlDto)
Declaration
public virtual Task<ShortenedUrlDto> CreateAsync(CreateShortenedUrlDto input)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateShortenedUrlDto | input |
Returns
| Type | Description |
|---|---|
| Task<ShortenedUrlDto> |
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<ShortenedUrlDto> GetAsync(Guid id)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id |
Returns
| Type | Description |
|---|---|
| Task<ShortenedUrlDto> |
GetListAsync(GetShortenedUrlListInput)
Declaration
public virtual Task<PagedResultDto<ShortenedUrlDto>> GetListAsync(GetShortenedUrlListInput input)
Parameters
| Type | Name | Description |
|---|---|---|
| GetShortenedUrlListInput | input |
Returns
| Type | Description |
|---|---|
| Task<PagedResultDto<ShortenedUrlDto>> |
UpdateAsync(Guid, UpdateShortenedUrlDto)
Declaration
public virtual Task<ShortenedUrlDto> UpdateAsync(Guid id, UpdateShortenedUrlDto input)
Parameters
| Type | Name | Description |
|---|---|---|
| Guid | id | |
| UpdateShortenedUrlDto | input |
Returns
| Type | Description |
|---|---|
| Task<ShortenedUrlDto> |