Show / Hide Table of Contents

Class UrlShortingAdminAppService

Inheritance
object
CmsKitProAdminAppService
UrlShortingAdminAppService
Implements
IUrlShortingAdminAppService
ICrudAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput, CreateShortenedUrlDto, UpdateShortenedUrlDto>
IReadOnlyAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput>
IApplicationService
IRemoteService
ICreateUpdateAppService<ShortenedUrlDto, Guid, CreateShortenedUrlDto, UpdateShortenedUrlDto>
ICreateAppService<ShortenedUrlDto, CreateShortenedUrlDto>
IUpdateAppService<ShortenedUrlDto, Guid, UpdateShortenedUrlDto>
IDeleteAppService<Guid>
Namespace: Volo.CmsKit.Admin.UrlShorting
Assembly: Volo.CmsKit.Pro.Admin.Application.dll
Syntax
[Authorize("CmsKit.UrlShorting")]
public class UrlShortingAdminAppService : CmsKitProAdminAppService, IUrlShortingAdminAppService, ICrudAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput, CreateShortenedUrlDto, UpdateShortenedUrlDto>, IReadOnlyAppService<ShortenedUrlDto, ShortenedUrlDto, Guid, GetShortenedUrlListInput>, IApplicationService, IRemoteService, ICreateUpdateAppService<ShortenedUrlDto, Guid, CreateShortenedUrlDto, UpdateShortenedUrlDto>, ICreateAppService<ShortenedUrlDto, CreateShortenedUrlDto>, IUpdateAppService<ShortenedUrlDto, Guid, UpdateShortenedUrlDto>, IDeleteAppService<Guid>

Constructors

UrlShortingAdminAppService(IShortenedUrlRepository)

Declaration
public UrlShortingAdminAppService(IShortenedUrlRepository shortenedUrlRepository)
Parameters
Type Name Description
IShortenedUrlRepository shortenedUrlRepository

Methods

CreateAsync(CreateShortenedUrlDto)

Declaration
[Authorize("CmsKit.UrlShorting.Create")]
public virtual Task<ShortenedUrlDto> CreateAsync(CreateShortenedUrlDto input)
Parameters
Type Name Description
CreateShortenedUrlDto input
Returns
Type Description
Task<ShortenedUrlDto>

DeleteAsync(Guid)

Declaration
[Authorize("CmsKit.UrlShorting.Delete")]
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
[Authorize("CmsKit.UrlShorting.Update")]
public virtual Task<ShortenedUrlDto> UpdateAsync(Guid id, UpdateShortenedUrlDto input)
Parameters
Type Name Description
Guid id
UpdateShortenedUrlDto input
Returns
Type Description
Task<ShortenedUrlDto>

Implements

IUrlShortingAdminAppService
Volo.Abp.Application.Services.ICrudAppService<,,,,,>
Volo.Abp.Application.Services.IReadOnlyAppService<,,,>
Volo.Abp.Application.Services.IApplicationService
Volo.Abp.IRemoteService
Volo.Abp.Application.Services.ICreateUpdateAppService<,,,>
Volo.Abp.Application.Services.ICreateAppService<,>
Volo.Abp.Application.Services.IUpdateAppService<,,>
Volo.Abp.Application.Services.IDeleteAppService<>
In this article
Back to top Powered by Volosoft