Beispiel #1
0
 public ActionResult Logout()
 {
     Auth.SetRole((int)Auth.Roles.NotLoggedIn);
     Auth.SetUserId(0);
     return(RedirectToAction("Login"));
 }