public async Task <ReRouteDto> GetByRouteNameAsync(ReRouteGetByNameInputDto input)
 {
     return(await ReRouteAppService.GetByRouteNameAsync(input));
 }
예제 #2
0
        public async Task <ReRouteDto> GetByRouteNameAsync(ReRouteGetByNameInputDto input)
        {
            var reRoute = await _reRouteRepository.GetByNameAsync(input.RouteName);

            return(ObjectMapper.Map <ReRoute, ReRouteDto>(reRoute));
        }