} // End of MainMenu // Display menu for staff private void StaffMenu() { bool staffMenu = true; while (staffMenu) { factoryMenu.GetMenu("STAFF").ViewMenu(); int staffOpt = Utilities.Console.AskInt("Enter option: "); switch (staffOpt) { case 1: StaffManagement.ListStaffs(); StaffMenu(); break; case 2: StaffManagement.ListRoomAvailability(Data.GetRooms(), Data.GetSlots()); StaffMenu(); break; case 3: StaffManagement.CreateSlot(Data.GetSlots(), Data.GetRooms()); Data.RefreshDatabase(); StaffMenu(); break; case 4: StaffManagement.RemoveSlot(Data.GetSlots(), Data.GetRooms()); Data.RefreshDatabase(); StaffMenu(); break; case 5: Console.WriteLine("\nExit staff menu ..."); MainMenu(); break; default: Console.WriteLine("Choose between 1 - 5, try again.\n"); break; } staffMenu = false; } } // End of StaffMenu