public IHttpActionResult GetFlightsThatLandAtTheNext12Hours() { IList <Flight> flights = anonymous.GetFlightsLandAtNext12Hours(); if (flights.Count == 0) { return(NotFound()); } return(Ok(flights)); }