private TraktUserHiddenItemsPostBuilder AddShowOrIgnore(TraktShow show)
        {
            if (ContainsShow(show))
            {
                return(this);
            }

            var hiddenItemShow = new TraktUserHiddenItemsPostShow()
            {
                Ids   = show.Ids,
                Title = show.Title,
                Year  = show.Year
            };

            (_shows as List <TraktUserHiddenItemsPostShow>).Add(hiddenItemShow);

            return(this);
        }
        private void CreateOrSetShow(TraktShow show, IEnumerable <TraktUserHiddenItemsPostShowSeason> showSeasons,
                                     DateTime?watchedAt = null)
        {
            var existingShow = _shows.Where(s => s.Ids == show.Ids).FirstOrDefault();

            if (existingShow != null)
            {
                existingShow.Seasons = showSeasons;
            }
            else
            {
                var hiddenItemsShow = new TraktUserHiddenItemsPostShow()
                {
                    Ids     = show.Ids,
                    Title   = show.Title,
                    Year    = show.Year,
                    Seasons = showSeasons
                };

                (_shows as List <TraktUserHiddenItemsPostShow>).Add(hiddenItemsShow);
            }
        }