public void ShowMenu() { bool show = true; while (show) { System.Console.WriteLine("1. Create accountant\n2. Create salesman\n3. Get all employees\n4. Deliver products to warehouse\n5. Get all products\n"); string choice = System.Console.ReadLine(); switch (choice) { case "1": CreateAccountant(); break; case "2": CreateSalesman(); break; case "3": System.Console.WriteLine(_controller.GetAllEmployees()); break; case "4": DeliverProducts(); break; case "5": System.Console.WriteLine(_controller.GetAllProducts()); break; case "exit": show = false; break; default: System.Console.WriteLine("No such option"); break; } } }