Example #1
0
        private void GetParksInfo(string parkSelection)
        {
            IList <Park> parks = parkDAO.GetParksInfo(parkSelection);

            if (parks.Count > 0)
            {
                Console.WriteLine("Park Information Screen");

                foreach (Park park in parks)
                {
                    Console.WriteLine(park.Name);
                    Console.WriteLine("Location:" + park.Location);
                    Console.WriteLine("Established:" + park.EstablishDate);
                    Console.WriteLine("Area:" + park.Area);
                    Console.WriteLine("Annual Visitors" + park.Visitors);
                    Console.WriteLine();
                    Console.WriteLine(park.Description);
                    Console.WriteLine();
                }
            }
            else
            {
                Console.WriteLine("**** NO RESULTS ****");
            }
        }