Ejemplo n.º 1
0
        public IActionResult Create(Person p)
        {
            PeopleViewModel m = new PeopleViewModel();

            m.AddPersonToList(p);
            return(View("Index", m.GetAllPeople().ToList()));
        }