Example #1
0
        public void Start()
        {
            var loop = true;

            while (loop)
            {
                Console.Clear();
                menu.StartMenu();
                var input = Console.ReadKey(true).Key;

                switch (input)
                {
                case ConsoleKey.D1:
                    manager.FindAuthor();
                    break;

                case ConsoleKey.D2:
                    manager.ShowPublications();
                    break;

                case ConsoleKey.D3:
                    loop = false;
                    break;
                }
            }
        }