public ActionResult Logout() { IAuthenticator authenticator = new CookieAuthenticator(); authenticator.SignOut(); return(Redirect("/")); }
public ActionResult ConfirmLogout() { var authenticator = new CookieAuthenticator(); authenticator.SignOut(); return(this.RedirectToHome()); }