public static void SelectByFunctionMenu() { int?FunctionMenuChoice = MenuUtils.GetIntChoice(MenuUtils.FunctionMenu(), 1, 3); switch (FunctionMenuChoice) { case 1: SelectByFunction(); ListSelectedEmployeesByFunction(); break; case 2: PayrollSelectedEmployeesByFunction(); break; case 3: SpecificEmployeesMenu(); break; default: Menu.SelectByFunctionMenu(); break; } }