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