/// <summary> /// Campground Menu page /// </summary> private void CampgroundMenu() { bool exit = false; while (!exit) { Console.Clear(); Console.WriteLine("Park Campgrounds"); Console.WriteLine(_selectedPark.Name); Console.WriteLine(); List <CampgroundItem> campgrounds = _db.GetCampgroundItemsByPark(_selectedPark.Id); DisplayCampgrounds(campgrounds); Console.WriteLine(); Console.WriteLine("Select a command"); Console.WriteLine(); Console.WriteLine("1)".PadLeft(6) + " Search for Available Reservation"); Console.WriteLine("2)".PadLeft(6) + " Return to Previous Screen"); int selection = CLIHelper.GetInt("Selection: "); switch (selection) { case 1: SearchForCampgroundReservation(campgrounds); break; case 2: exit = true; break; default: DisplayInvalidOption(); break; } } }