コード例 #1
0
        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)
                       ));
        }
コード例 #2
0
 public virtual Task <PagedResultDto <SaasEditionDto> > GetListAsync(GetSaasEditionsInput input)
 {
     return(EditionAppService.GetListAsync(input));
 }