Example #1
0
 public void SellSeat(int row, int seatLetter, Passenger passenger)
 {
     Seat seat = ListOfSeatsRows[row].Seats[seatLetter];
     seat.IsSeatAvailable = false;
     passenger.seat = seat;
     AddToManifest(passenger);
 }
Example #2
0
 public void AddToManifest(Passenger passenger)
 {
     Manifest.Add(passenger);
 }
Example #3
0
 public void SellSeatOnFlight(Flight flight, int row, int seatLetter, Passenger passenger)
 {
     ClearFlightsToDisplay();
     flight.SellSeat(row, seatLetter, passenger);
 }