private static async Task GetEpisodeTitlesForSeason(TVDB tvdb) { Console.WriteLine("Episodes of Game of Thrones season 2"); var episodes = await tvdb.GetEpisodes(121361); var season2Episodes = episodes.Where(ep => ep.AiredSeason == 2).ToList(); DisplayEpisodeTitles.Print(season2Episodes); Console.WriteLine("-----------"); }
private static async Task GetSpecificShow(TVDB tvdb) { Console.WriteLine("Game of Thrones"); var got = await tvdb.GetShow(121361); DisplayShowDetails.Print(got); var eps = await tvdb.GetEpisodes(121361); DisplayEpisodeDetails.Print(eps.First()); Console.WriteLine("-----------"); }