Example #1
0
        private static void ListAllGreatPeople()
        {
            GreatPeopleRepositorySQL greatPersonRepository = new GreatPeopleRepositorySQL();
            List <GreatPeople>       greatPeople;

            using (greatPersonRepository)
            {
                greatPeople = greatPersonRepository.SelectAll();
                ConsoleView.DisplayAllGreatPeople(greatPeople);
                ConsoleView.DisplayContinuePromptInvisible();
            }
        }