Esempio n. 1
0
        private void FindByTitle()
        {
            Console.Clear();
            Console.WriteLine("Enter the title you're searching for: ");
            string           searchTitle = Console.ReadLine();
            StreamingContent foundTitle  = _streamingRepo.GetByTitle(searchTitle);

            if (foundTitle != null)
            {
                DisplayContent(foundTitle);
            }
            else
            {
                Console.WriteLine("No results found");
            }
            Console.WriteLine("Press any key to continue");
            Console.ReadKey();
        }