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))); }
public virtual async Task <ListResultDto <DynamicReRouteDto> > GetAsync(DynamicRouteGetByAppIdInputDto dynamicRouteGetByAppId) { return(await DynamicReRouteAppService.GetAsync(dynamicRouteGetByAppId)); }