public ActionResult Save2( UserInfo user) { //if (!ModelState.IsValid) //{ // return View("Index",user); //} return View(user); }
public ActionResult Save(UserInfo user) { if (!ModelState.IsValid) { return View("Index", user); } return View(user); }
public ActionResult SelectedUser(UserInfo user) { return View(user); }