//internal bool DeleteBooking(ICustomer cus, string bookingID) //{ // return dbCon.DeleteBooking(bookingID); //} internal void CheckInCustomer(ICustomer cus) { dbCon.UpdateCustomer(cus); foreach (IBooking book in GetActiveBookings(cus.ID)) { IRoom room = dbCon.GetRoom(book.RoomID); room.RStatus = RoomStatus.Occupied; dbCon.UpdateRoom(room); } }
internal ICustomer UpdateCustomer(ICustomer cus) { return(dbCon.UpdateCustomer(cus)); }