public async Task <ReRouteDto> GetByRouteNameAsync(ReRouteGetByNameInputDto input) { return(await ReRouteAppService.GetByRouteNameAsync(input)); }
public async Task <ReRouteDto> GetByRouteNameAsync(ReRouteGetByNameInputDto input) { var reRoute = await _reRouteRepository.GetByNameAsync(input.RouteName); return(ObjectMapper.Map <ReRoute, ReRouteDto>(reRoute)); }