public ViewResult AddPerson(Person person) { if (ModelState.IsValid) { PeopleRepository.AddResponse(person); return(View("Thanks", person)); } else { return(View()); } }