public async Task <PagedResultDto <SaasEditionDto> > GetListAsync(GetSaasEditionsInput input) { var count = await EditionRepository.GetCountAsync(input.Filter); var list = await EditionRepository.GetListAsync(input.Sorting, input.MaxResultCount, input.SkipCount, input.Filter); return(new PagedResultDto <SaasEditionDto>( count, ObjectMapper.Map <List <SaasEdition>, List <SaasEditionDto> >(list) )); }
public virtual Task <PagedResultDto <SaasEditionDto> > GetListAsync(GetSaasEditionsInput input) { return(EditionAppService.GetListAsync(input)); }