public RoomBookingDateWiseDTO[] GetWaitListedBookings(DateTime StartDate, DateTime EndDate, int notThisBookingId, int AccomId) { try { if (bookingWaitListHandler == null) { bookingWaitListHandler = new BookingWaitListHandler(); } return(bookingWaitListHandler.GetWaitListedBookings(StartDate, EndDate, notThisBookingId, AccomId)); } catch (Exception exp) { throw exp; } }
public BookingWaitListDTO[] GetBlockedBookings(int BookingId) { try { if (bookingWaitListHandler == null) { bookingWaitListHandler = new BookingWaitListHandler(); } return(bookingWaitListHandler.GetBlockedBookings(BookingId)); } catch (Exception exp) { throw exp; } }
public bool AllocateRoomsToWaitListedBooking(int BookingId, string RoomList, int RoomCategoryId, int RoomTypeId) { try { //RoomList is comma-seperated list of all the room no's. if (bookingWaitListHandler == null) { bookingWaitListHandler = new BookingWaitListHandler(); } return(bookingWaitListHandler.AllocateRoomsToWaitListedBooking(BookingId, RoomList, RoomCategoryId, RoomTypeId)); } catch (Exception exp) { throw exp; } }