public MovieGateway(HttpClient client, IMemoryCache cache, IOptions <MoviesSettings> moviesSettings)//
 {
     this.moviesSettings = moviesSettings.Value;
     cacheEntryOptions   = CreateCacheOptions(this.moviesSettings);
     this.cache          = cache;
     this.client         = client;
 }
 private MemoryCacheEntryOptions CreateCacheOptions(MoviesSettings settings) =>
 CreateCacheOptionsFromTTL(settings.CacheMinutes);