Beispiel #1
0
 public HotelSearchController(
     HotelCloudDbContext context,
     IEFRepository repository,
     IFilterHotelByCityAndRoomType filterHotelByCityAndRoomType,
     IFilterHotelByPriceAndHotelRatings filterHotelByPriceAndHotelRatings,
     IFilterHotelByPrice filterHotelByPrice,
     IFilterHotelByHotelRatings filterHotelByHotelRatings,
     IHotelNetworkMainSearchEngine hotelNetworkMainSearchEngine,
     ICheckOutCheckInImplmentation checkOutCheckInImplmentation)
 {
     _context    = context;
     _repository = repository;
     _filterHotelByCityAndRoomType      = filterHotelByCityAndRoomType;
     _filterHotelByPriceAndHotelRatings = filterHotelByPriceAndHotelRatings;
     _filterHotelByPrice           = filterHotelByPrice;
     _filterHotelByHotelRatings    = filterHotelByHotelRatings;
     _hotelNetworkMainSearchEngine = hotelNetworkMainSearchEngine;
     _checkOutCheckInImplmentation = checkOutCheckInImplmentation;
 }
 public HotelNetworkMainSearchEngine(HotelCloudDbContext context,
                                     ICheckOutCheckInImplmentation checkOutCheckInImplmentation)
 {
     _context = context;
     _checkOutCheckInImplmentation = checkOutCheckInImplmentation;
 }
Beispiel #3
0
 public FilterRoomsByRating(HotelCloudDbContext context,
                            ICheckOutCheckInImplmentation checkOutCheckInImplmentation)
 {
     _context = context;
     _checkOutCheckInImplmentation = checkOutCheckInImplmentation;
 }
 public FilterHotelByCityAndRoomType(HotelCloudDbContext context,
                                     ICheckOutCheckInImplmentation checkOutCheckInImplmentation)
 {
     _context = context;
     _checkOutCheckInImplmentation = checkOutCheckInImplmentation;
 }
Beispiel #5
0
 public FilterHotelByPrice(HotelCloudDbContext context,
                           ICheckOutCheckInImplmentation checkOutCheckInImplmentation)
 {
     _context = context;
     _checkOutCheckInImplmentation = checkOutCheckInImplmentation;
 }