示例#1
0
 public string showSeatingChart(string flightNumber)
 {
     return(FlightDB.showSeatingChart(flightNumber));
 }
示例#2
0
 public string reserveSeat(string flightNumber, string seatNumber, string name, int age)
 {
     return(FlightDB.reserveSeat(flightNumber, seatNumber, name, age));
 }
示例#3
0
 public string showAllFlights()
 {
     return(FlightDB.showAllFlightDetails());
 }
示例#4
0
        public IHttpActionResult GetAllFlights()
        {
            var db = new FlightDB();

            return(Ok(db.Flights));
        }