public virtual async Task <PagedResultDto <TagDto> > GetListAsync(TagGetListInput input) { return(await RequestAsync <PagedResultDto <TagDto> >(nameof(GetListAsync), new ClientProxyRequestTypeValue { { typeof(TagGetListInput), input } })); }
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)); }