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