/// <summary> /// Prints list of campgrounds with headers /// </summary> /// <param name="parkId"></param> private void PrintCampgrounds(int parkId) { List <Campground> campgrounds = new List <Campground>(); Console.WriteLine("Park Campgrounds"); Console.WriteLine(parkDAO.GetParkName(parkId)); Console.WriteLine(); Console.WriteLine(Campground.PrintCampgroundHeader()); // generate list of campgrounds to display for campground selection screen campgrounds = campgroundDAO.GetCampgrounds(parkId); foreach (Campground campground in campgrounds) { Console.WriteLine(campground.ToString()); validCampgrounds.Add(campground.Campground_Id); } Console.WriteLine(); }