public HotelAvailabilityController(ILogger <HotelAvailabilityController> logger,
                                    IOptions <CacheConfig> cacheConfig,
                                    IMemoryCache memoryCache,
                                    IHotelAvailability hotelAvailability)
 {
     _logger            = logger;
     _cacheConfig       = cacheConfig;
     _memoryCache       = memoryCache;
     _hotelAvailability = hotelAvailability;
 }
 public AvailabilityService(IHotelRepository hotelRepository, IHotelAvailability hotelAvailability, IPricingService pricingService)
 {
     _hotelRepository   = hotelRepository;
     _hotelAvailability = hotelAvailability;
     _pricingService    = pricingService;
 }