public override IEnumerable <SearchResult> Search(Query query)
        {
            var videoRepo = new IntermediateVideoDataRepository();
            var videos    = videoRepo.Load().Where(x => x is Video);

            foreach (var basicContent in videos.Where(x => x.Name.ToLower().Contains(query.SearchQuery)))
            {
                yield return(this.CreateSearchResult(basicContent));
            }
        }
        private void Refresh(TwentyThreeVideoProvider twentyThreeVideoProvider)
        {
            var intermediateVideoDataRepository = new IntermediateVideoDataRepository();

            var items = intermediateVideoDataRepository.Load();

            if (items == null)
            {
                items = intermediateVideoDataRepository.LoadFromService();
                intermediateVideoDataRepository.Save(items);
            }

            twentyThreeVideoProvider.RefreshItems(items);
        }