Example #1
0
 public HotelController(IPopupService popupService, IHotelRepository hotelRepository, IHotelService hotelService,
                        IHotelRoomRepository hotelRoomRepository, ITransactionScopeProvider transactionScopeProvider,
                        IWalletRepository walletRepository, IMarketOfferRepository marketOfferRepository, ICitizenRepository citizenRepository,
                        IHotelManagerRepository hotelManagerRepository) : base(popupService)
 {
     this.hotelRepository          = hotelRepository;
     this.hotelService             = hotelService;
     this.hotelRoomRepository      = hotelRoomRepository;
     this.transactionScopeProvider = transactionScopeProvider;
     this.walletRepository         = walletRepository;
     this.marketOfferRepository    = marketOfferRepository;
     this.citizenRepository        = citizenRepository;
     this.hotelManagerRepository   = hotelManagerRepository;
 }
Example #2
0
 public HotelService(IEntityService entityService, IEntityRepository entityRepository, IHotelRepository hotelRepository, ICountryRepository countryRepository,
                     IWalletService walletService, IHotelRoomRepository hotelRoomRepository, IHotelTransactionsService hotelTransactionsService,
                     IEquipmentService equipmentService, IHotelManagerRepository hotelManagerRepository, IEquipmentRepository equipmentRepository)
 {
     this.entityService            = entityService;
     this.entityRepository         = entityRepository;
     this.hotelRepository          = hotelRepository;
     this.countryRepository        = countryRepository;
     this.walletService            = walletService;
     this.hotelRoomRepository      = hotelRoomRepository;
     this.hotelTransactionsService = hotelTransactionsService;
     this.equipmentService         = equipmentService;
     this.hotelManagerRepository   = hotelManagerRepository;
     this.equipmentRepository      = equipmentRepository;
 }