///// <summary> ///// QueryMenu ///// </summary> ///// <returns>ActionResult</returns> //public IActionResult QueryTMenu() //{ // return this.PartialView(); //} /// <summary> /// 注销 /// </summary> /// <returns>ActionResult</returns> public ActionResult Logoff() { LogonUtility.Logoff(); var result = new Result { IsSucceed = true }; return(Json(result)); }
/// <summary> /// 注销 /// </summary> /// <returns>ActionResult</returns> public ActionResult Logoff() { LogonUtility.Logoff(); var result = new Result { IsSucceed = true }; return(new MyJsonResult { Data = result }); }
protected void exit_ServerClick(object sender, EventArgs e) { LogonUtility.Logoff(); Response.Redirect("/Agency.htm?target=" + System.Web.HttpUtility.UrlEncode("/Logon.aspx"), true); }