public async Task <ListResultDto <DynamicReRouteDto> > GetAsync(DynamicRouteGetByAppIdInputDto dynamicRouteGetByAppId)
        {
            var dynamicReRoutes = await _dynamicReRouteRepository.GetByAppIdAsync(dynamicRouteGetByAppId.AppId);

            return(new ListResultDto <DynamicReRouteDto>(ObjectMapper.Map <List <DynamicReRoute>, List <DynamicReRouteDto> >(dynamicReRoutes)));
        }
Exemplo n.º 2
0
 public virtual async Task <ListResultDto <DynamicReRouteDto> > GetAsync(DynamicRouteGetByAppIdInputDto dynamicRouteGetByAppId)
 {
     return(await DynamicReRouteAppService.GetAsync(dynamicRouteGetByAppId));
 }