public ReservationsController(IReservationRepo reservationRepo, IGuestRepo guestRepo, IHostRepo hostRepo,
                               IMapper mapper)
 {
     _hostRepo        = hostRepo;
     _guestRepo       = guestRepo;
     _reservationRepo = reservationRepo;
     _mapper          = mapper;
 }
Esempio n. 2
0
 public GuestsController(IGuestRepo repo)
 {
     _repo = repo;
 }
Esempio n. 3
0
 public GuestController(IReservationRepo reservationRepo, IGuestRepo guestRepo, IRoomRepo roomRepo)
 {
     _reservationRepo = reservationRepo;
     _guestRepo       = guestRepo;
     _roomRepo        = roomRepo;
 }