public async Task <ListResultDto <AggregateReRouteDto> > GetAsync(AggregateRouteGetByAppIdInputDto aggregateRouteGetByAppId)
 {
     return(await AggregateReRouteAppService.GetAsync(aggregateRouteGetByAppId));
 }
Esempio n. 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)));
        }