Exemplo n.º 1
0
        public List <TMDbTvShow> GetPopularTvShows(string defaultPosterPath = "", PosterSize size = PosterSize.w500)
        {
            var shows = client.GetPopularTvShows();

            foreach (var show in shows)
            {
                show.PosterPath = show.PosterPath.HasValue() ? BasePosterPath + size + show.PosterPath : defaultPosterPath;
            }

            return(shows);
        }