コード例 #1
0
        public async Task <PagedResultDto <ReRouteDto> > GetListAsync(ReRouteGetByPagedInputDto input)
        {
            await _routeGroupChecker.CheckActiveAsync(input.AppId);

            var reroutesTuple = await _reRouteRepository
                                .GetPagedListAsync(input.AppId, input.Filter, input.Sorting,
                                                   input.SkipCount, input.MaxResultCount);

            return(new PagedResultDto <ReRouteDto>(reroutesTuple.total, ObjectMapper.Map <List <ReRoute>, List <ReRouteDto> >(reroutesTuple.routes)));
        }
 public async Task <PagedResultDto <ReRouteDto> > GetListAsync(ReRouteGetByPagedInputDto input)
 {
     return(await ReRouteAppService.GetListAsync(input));
 }