Пример #1
0
        ///// <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));
        }
Пример #2
0
        /// <summary>
        /// 注销
        /// </summary>
        /// <returns>ActionResult</returns>
        public ActionResult Logoff()
        {
            LogonUtility.Logoff();
            var result = new Result {
                IsSucceed = true
            };

            return(new MyJsonResult {
                Data = result
            });
        }
Пример #3
0
 protected void exit_ServerClick(object sender, EventArgs e)
 {
     LogonUtility.Logoff();
     Response.Redirect("/Agency.htm?target=" + System.Web.HttpUtility.UrlEncode("/Logon.aspx"), true);
 }