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