Beispiel #1
0
        // scrape all shows and store in DB
        public List <Show> ScrapeAndStoreAllShows()
        {
            List <Show> Shows = ScraperServices.ScrapeAllShows(); // scraper

            if (Shows != null)
            {
                RepositoryServices.ClearShowData();           // clear collection
                RepositoryServices.StoreMultipleShows(Shows); // storage
            }
            return(Shows);
        }