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));
        }