Exemple #1
0
 public RoomController(IRoomModelBuilder roomModelBuilder, IFavoriteChanger favoriteChanger, IBookingHandler bookingHandler, IReviewHandler reviewHandler)
 {
     this.roomModelBuilder = roomModelBuilder;
     this.favoriteChanger  = favoriteChanger;
     this.bookingHandler   = bookingHandler;
     this.reviewHandler    = reviewHandler;
 }
Exemple #2
0
 public ReservationSystem(ICustomerHandler c, IBookingHandler b, IGuestHandler g)
 {
     _customerHandler = c;
     _bookingHandler  = b;
     _guestHandler    = g;
 }
Exemple #3
0
 public BookingController(IBookingHandler bookingHandler)
 {
     _bookingHandler = bookingHandler;
 }