public ActionResult Regist(User user) { UserModel userModel = new UserModel(); User u = userModel.Regist(user); if (u != null) { Session[SystemConst.LoginUser] = u; } return RedirectToAction("index", "User"); }
public ActionResult Regist(User user) { UserModel userModel = new UserModel(); User u = userModel.Regist(user); if (u != null) { Session[SystemConst.LoginUser] = u; } return RedirectToAction("index", "User"); }