public virtual async Task <PagedResultDto <TagDto> > GetListAsync(TagGetListInput input)
 {
     return(await RequestAsync <PagedResultDto <TagDto> >(nameof(GetListAsync), new ClientProxyRequestTypeValue
     {
         { typeof(TagGetListInput), input }
     }));
 }
示例#2
0
    public async Task <PagedResultDto <TagDto> > GetListAsync(TagGetListInput input)
    {
        var tags = await Repository.GetListAsync(input.Filter);

        var count = await Repository.GetCountAsync(input.Filter);

        return(new PagedResultDto <TagDto>(
                   count,
                   ObjectMapper.Map <List <Tag>, List <TagDto> >(tags)
                   ));
    }
示例#3
0
 public Task <PagedResultDto <TagDto> > GetListAsync(TagGetListInput input)
 {
     return(TagAdminAppService.GetListAsync(input));
 }