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

            return(RedirectToAction("Index", "Home"));
        }
Exemplo n.º 2
0
 public void Logout()
 {
     userSecurity.Logout();
 }