private AvailableSeasonImages GetAvailableSeasonImages(int seasonNumber)
        {
            AvailableSeasonImages seasonImages;

            if (!_seasons.TryGetValue(seasonNumber, out seasonImages))
            {
                seasonImages           = new AvailableSeasonImages();
                _seasons[seasonNumber] = seasonImages;
            }
            return(seasonImages);
        }
        private void AddBannerImage(Banner banner)
        {
            Image image = CreateImage(banner);

            image.WidthRatio  = 758;
            image.HeightRatio = 140;
            if (banner.Season.HasValue)
            {
                image.Description = TvShowHelper.GetSeasonName(banner.Season.Value);
                AvailableSeasonImages seasonImages = GetAvailableSeasonImages(banner.Season.Value);
                seasonImages.Banners.Add(image);
            }
            else
            {
                image.Description = "TV Show";
                _banners.Add(image);
            }
        }
 private AvailableSeasonImages GetAvailableSeasonImages(int seasonNumber)
 {
     AvailableSeasonImages seasonImages;
     if (!_seasons.TryGetValue(seasonNumber, out seasonImages))
     {
         seasonImages = new AvailableSeasonImages();
         _seasons[seasonNumber] = seasonImages;
     }
     return seasonImages;
 }