public MovieCacheService(IMovieCacheRepository cacheRepository, IMovieCacheEntityFactory entityFactory) { _cacheRepository = cacheRepository; _entityFactory = entityFactory; _expirationInterval = TimeSpan.FromSeconds(CacheConfig.GetConfigurableCacheExpirationInterval()); }