Beispiel #1
0
        public IActionResult EditPerson(EditPerson person)
        {
            var personBO = new PersonBusinessObject(this.personRepository);

            personBO.EditPerson(new EditPersonDTO()
            {
                PersonID    = person.PersonID,
                FirstName   = person.FirstName,
                LastName    = person.LastName,
                DateOfBirth = person.DateOfBirth
            });


            return(RedirectToAction("Index", "Home"));
        }