protected override void BeforeDisplayMenu()
        {
            PrintHeader();
            string displayParks = parkDAO.DisplayParkDetails(park);

            Console.WriteLine(displayParks);
        }
Exemple #2
0
        public void viewParkDetails()
        {
            List <Park> parkSelection = parkDAO.GetParks();

            Console.WriteLine("Which Park would you like to learn more about?");
            string input        = Console.ReadLine();
            int    inputNum     = int.Parse(input);
            string displayParks = parkDAO.DisplayParkDetails(parkSelection[inputNum - 1]);

            Console.WriteLine(displayParks);
        }