//episode public bool UpdateExistingContent(string originalTitle, StreamingContent newContentValues) { StreamingContent oldContent = GetContentByTitle(originalTitle); if (oldContent != null) { oldContent.Title = newContentValues.Title; oldContent.Description = newContentValues.Description; oldContent.StarRating = newContentValues.StarRating; oldContent.TypeOfGenre = newContentValues.TypeOfGenre; oldContent.MaturityRating = newContentValues.MaturityRating; return(true); } else { return(false); } }
public bool RemoveContentFromList(StreamingContent content) { return(_streamingContentList.Remove(content)); }
public void AddToList(StreamingContent content) { _streamingContentList.Add(content); }