public String Get(string origin, string destin) { try { _airportService.CheckAirports(origin, destin); var result = _routeService.GetShortest(origin, destin); return(result); } catch (ValidationException e) { return(e.Message); } catch (Exception) { throw new HttpResponseException(HttpStatusCode.BadRequest); } }