public ActionResult Logout()
        {
            try {
                _securityProvider.Logout();
            }
            catch (Exception e) {
                log.Error(string.Format("Logout failed - {0}", e.Message), e);
            }

            return(RedirectToAction("Index", "Home"));
        }
예제 #2
0
 public void Logout()
 {
     userSecurity.Logout();
 }