Пример #1
0
        public IActionResult Index()
        {
            PersonDB      PersonDB = new PersonDB(_connectionString);
            List <Person> people   = PersonDB.GetAll();

            return(View(people));
        }
 public List <Person> GetAllPersons() => _persondb.GetAll();