//delete
        public bool RemoveContentFromList(string title)
        {
            StreamingContent content = GetContentByTitle(title);

            if (content == null)
            {
                return(false);
            }
            int initialcount = _listOfContent.Count;

            _listOfContent.Remove(content);
            if (initialcount > _listOfContent.Count)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }
        //update
        public bool UpdateExistingContent(string originalTitle, StreamingContent newContent)
        {
            //find the content
            StreamingContent oldContent = GetContentByTitle(originalTitle);

            //update the content
            if (oldContent != null)
            {
                oldContent.Title            = newContent.Title;
                oldContent.Description      = newContent.Description;
                oldContent.MaturityRating   = newContent.MaturityRating;
                oldContent.IsFamilyFriendly = newContent.IsFamilyFriendly;
                oldContent.StarRating       = newContent.StarRating;
                oldContent.TypeOfGenre      = newContent.TypeOfGenre;
                return(true);
            }

            else
            {
                return(false);
            }
        }
 //creat
 public void AddContentToList(StreamingContent content)
 {
     _listOfContent.Add(content);
 }