mirror of
https://github.com/rudollee/LearningMVC.git
synced 2026-08-11 16:32:55 +00:00
Ch. 22 Templated Helper Methods
This commit is contained in:
@@ -27,7 +27,8 @@ namespace HelperMethods.Controllers
|
||||
[HttpPost]
|
||||
public ActionResult CreatePerson(Person Person)
|
||||
{
|
||||
return View(Person);
|
||||
//return View(Person);
|
||||
return View("DisplayPerson", Person);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user