static void WorkingManager() { ManagerMenu(); switch (MotorPool.EnterNumber(4, () => ManagerMenu())) { case 1: manager.Show(); break; case 2: manager.AddCar(); break; case 3: manager.RemoveCar(); break; case 4: manager.RepairCar(); break; } }