Ejemplo n.º 1
0
        public string makeReservation(String roomNo, String guestName, String guestPass, DateTime startDate, int duration, int noOfGuests, Payment payment)
        {
            IReservationBLL reservationBLL = BLLFactory.getReservationBLL();
            DateTime        endDate        = startDate + new TimeSpan(duration, 0, 0, 0);

            return(reservationBLL.makeReservation(roomNo, guestName, guestPass, startDate, endDate, noOfGuests, payment));
        }
 public ReservationController(IReservationBLL reservation)
 {
     reservationbll = reservation;
 }
Ejemplo n.º 3
0
        public void makeGroupReservation(string inputDocument)
        {
            IReservationBLL reservationBLL = BLLFactory.getReservationBLL();

            reservationBLL.makeGroupReservation(inputDocument);
        }