示例#1
0
 public ActionResult Logout()
 {
     sessionService.Abandon();
     GetAuthenticationManager().SignOut(DefaultAuthenticationTypes.ApplicationCookie);
     return(RedirectToAction("index", "home"));
 }