public ActionResult PersonEdit(Person p) { p.Load(); return View(p); }
// // GET: /Person/ // *note*, method name must be unique among public class hierarchy. // MVC does not match signatures when resolving methods. // might want to use "PersonDetail" here. public ActionResult PersonDetail(Person p) { // TODO: EditMode property in BaseResource? p.Load(); return View(p); }