Ejemplo n.º 1
0
        public ActionResult <FlightPlan> GetFlightPlanById(string id)
        {
            var flightPlan = flightPlanManager.GetFlightPlanByID(id).Result;

            if (flightPlan == null)
            {
                return(NotFound());
            }
            else
            {
                return(Ok(flightPlan));
            }
        }