コード例 #1
0
 public LuggageController(IKeepingRepository repo, IHotelRepository hotelrepo, IMapper mapper, IUnitOfWork unitOfWork)
 {
     _hotelrepo  = hotelrepo;
     _unitOfWork = unitOfWork;
     _mapper     = mapper;
     _repo       = repo;
 }
コード例 #2
0
 public TaxiController(IKeepingRepository repo, IHotelRepository hotelrepo, IBookingRepository bookingrepo,
                       IMapper mapper, IUnitOfWork unitOfWork, IHubContext <NotificationsHub> notifyHub)
 {
     _hotelrepo   = hotelrepo;
     _unitOfWork  = unitOfWork;
     _mapper      = mapper;
     _repo        = repo;
     _bookingrepo = bookingrepo;
     _notifyHub   = notifyHub;
 }