public HotelsApi(IHotelTranslator hotelTranslator, IHotelCache hotelCache) { _hotelCache = hotelCache; _hotelTranslator = hotelTranslator; }
public HotelsApi(IHotelTranslator hotelTranslator)//, IHotelCache hotelCache) { //_hotelCache = hotelCache; _hotelTranslator = hotelTranslator; }
public HotelWebApiServiceProvider(IHotelRepository sqlDatabase, IHotelTranslator hotelTranslator, ICache cache) { _cache = cache; _sqlDatabase = sqlDatabase; _hotelTranslator = hotelTranslator; }