public ActionResult Register(Person p) { if (ModelState.IsValid) { person.AddU(p); return(RedirectToAction("Index")); } return(View()); }