private void CreateNewShow() { Console.WriteLine("Enter new show title:"); string title = Console.ReadLine(); GenreMenu(); int genreInput = ParseIntput(); Genre genre = _streamingContentRepo.GetGenreFromInt(genreInput); Console.WriteLine("Enter show runtime in minutes: "); float length = ParseFloatPut(); StreamingContent newShow = new StreamingContent(title, genre, length); _streamingContentRepo.AddContentToList(newShow); Console.WriteLine($"\"{title}\" added to list."); Console.ReadLine(); }
public void RemoveContentFromList(StreamingContent content) { _listOfContent.Remove(content); }
public void EnqueueContent(StreamingContent content) { _queueOfContent.Enqueue(content); }
public void AddContentToList(StreamingContent content) { _listOfContent.Add(content); }