コード例 #1
0
        //[ValidateAntiForgeryToken]
        public ActionResult LogOff()
        {
            AuthorizeService.ClearCache(HttpContext.User.Identity.Name);
            FormsAuthentication.SignOut();

            return(RedirectToAction("Login", "Account", ""));
        }