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; }
public void makeGroupReservation(string inputDocument) { IReservationBLL reservationBLL = BLLFactory.getReservationBLL(); reservationBLL.makeGroupReservation(inputDocument); }