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) )); }
public Task <PagedResultDto <TagDto> > GetListAsync(TagGetListInput input) { return(TagAdminAppService.GetListAsync(input)); }