public ActionResult Update_AccountMSG(Tuseraccount model) { var result = false; result = _bendaccountBll.Update_AccountMSG(model); return(RedirectToAction("BendAccountIndex", "BendAccount")); }
public ActionResult EidtorAccountMSG(Tuseraccount model) { BendAccountBll _bendaccountBll = new BendAccountBll(); var result = false; result = _bendaccountBll.Update_AccountMSG(model); Session["AdminAccount"] = null;//将值存在一个 return(RedirectToAction("HomeIndex", "Home")); }