示例#1
0
        public void Edit(Booking booking)
        {
            Booking tempBooking;

            tempBooking = FindByBookingID(booking.BookingID);
            bookings.Remove(tempBooking);
            bookings.Add(booking);
            bookingDB.DatabaseEdit(booking);
        }
示例#2
0
 public void DatabaseEdit(Booking aBooking)
 {
     bookingDB.DatabaseEdit(aBooking);
 }