Example #1
0
 /// <summary>
 /// 退出
 /// </summary>
 /// <returns></returns>
 public ActionResult LogOut()
 {
     try
     {
         MyFormsAuthentication.SignOut();
         return(Redirect("~/Account/Login"));
     }
     catch (Exception ex)
     {
         LogHelper.WriteLog(ex.Message);
         throw ex;
     }
 }