Exemplo n.º 1
0
        public IHttpActionResult GetFlight(bool isLanding)
        {
            var flight = _flightsManager.GetFlight(isLanding);

            if (flight == null)
            {
                return(NotFound());
            }

            return(Ok(flight));
        }