public async Task <ListResultDto <AggregateReRouteDto> > GetAsync(AggregateRouteGetByAppIdInputDto aggregateRouteGetByAppId)
 {
     return(await AggregateReRouteAppService.GetAsync(aggregateRouteGetByAppId));
 }
Exemple #2
0
        public async Task <ListResultDto <AggregateReRouteDto> > GetAsync(AggregateRouteGetByAppIdInputDto aggregateRouteGetByAppId)
        {
            var reroutes = await _aggregateReRouteRepository.GetByAppIdAsync(aggregateRouteGetByAppId.AppId);

            return(new ListResultDto <AggregateReRouteDto>(ObjectMapper.Map <List <AggregateReRoute>, List <AggregateReRouteDto> >(reroutes)));
        }