示例#1
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)
                       ));
        }
示例#2
0
 public Task <PagedResultDto <TagDto> > GetListAsync(TagGetListInput input)
 {
     return(TagAdminAppService.GetListAsync(input));
 }