Beispiel #1
0
        // scrape all cast of a show and store in DB
        public List <Cast> ScrapeAndStoreCastByShowId(int id)
        {
            List <Cast> CastMembers = ScraperServices.ScrapeCastByShowId(id);  //scraper

            if (CastMembers != null)
            {
                RepositoryServices.UpdateAllCast(CastMembers, id);  // storage
            }
            return(CastMembers);
        }