예제 #1
0
 public HotelsController(HotelsSearchQuery hotelsSearchQuery, HotelDetailQuery hotelDetailQuery,
                         DiscountService discountService, IOptions <CurrencySettings> currencyConf)
 {
     _hotelsSearchQuery = hotelsSearchQuery;
     _hotelDetailQuery  = hotelDetailQuery;
     _discountSvc       = discountService;
     _currencyConf      = currencyConf.Value;
 }