public void Edit(Booking booking) { Booking tempBooking; tempBooking = FindByBookingID(booking.BookingID); bookings.Remove(tempBooking); bookings.Add(booking); bookingDB.DatabaseEdit(booking); }
public void DatabaseEdit(Booking aBooking) { bookingDB.DatabaseEdit(aBooking); }