Esempio n. 1
0
        public IHttpActionResult GetAllFlights()
        {
            IList <FlightRazor> flights = anonymousUserFacade.RazorAllFlights();

            if (flights.Count == 0)
            {
                return(NotFound());
            }
            return(Ok(flights));
        }