public Boolean checkRoomAvailability(string roomNo, DateTime startDtae, int duration) { IRoomEnquiryBLL roomEnquiryBLL = BLLFactory.getRoomEnquiryBLL(); DateTime endDate = startDtae + new TimeSpan(duration, 0, 0, 0); return(roomEnquiryBLL.checkRoomAvailability(roomNo, startDtae, endDate)); }
public List <Room> getAllRooms() { IRoomEnquiryBLL roomEnquiryBLL = BLLFactory.getRoomEnquiryBLL(); return(roomEnquiryBLL.getAllRooms()); }
public void makeGroupReservation(string inputDocument) { IReservationBLL reservationBLL = BLLFactory.getReservationBLL(); reservationBLL.makeGroupReservation(inputDocument); }