Example #1
0
        private static void AddGreatPerson()
        {
            GreatPeopleRepositorySQL greatPersonRepository = new GreatPeopleRepositorySQL();
            GreatPeople greatPerson = new GreatPeople();

            greatPerson = ConsoleView.AddGreatPerson();
            using (greatPersonRepository)
            {
                greatPersonRepository.Insert(greatPerson);
            }

            //ConsoleView.DisplayContinuePromptInvisible();
        }