public ActionResult LogOut() { if (FormsAuthService.IsSignedIn()) { FormsAuthService.SignOut(); } return(RedirectToAction("LogOn", "Account")); }
//Logout public ActionResult Logout() { _log.LogIt(FormsAuthService.GetCurrentUserId(), "Logged out"); FormsAuthService.SignOut(); return(RedirectToAction("Index", "Home")); }