Beispiel #1
0
 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;
     }
 }
Beispiel #2
0
 public BookingWaitListDTO[] GetBlockedBookings(int BookingId)
 {
     try
     {
         if (bookingWaitListHandler == null)
         {
             bookingWaitListHandler = new BookingWaitListHandler();
         }
         return(bookingWaitListHandler.GetBlockedBookings(BookingId));
     }
     catch (Exception exp)
     {
         throw exp;
     }
 }
Beispiel #3
0
 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;
     }
 }