Exemplo n.º 1
0
 public ActionResult LogOutWithRedirect()
 {
     ChalkableAuthentication.SignOut();
     DeveloperAuthentication.SignOut();
     return(Redirect <HomeController>(x => x.Index()));
 }
Exemplo n.º 2
0
 public ActionResult LogOut()
 {
     ChalkableAuthentication.SignOut();
     DeveloperAuthentication.SignOut();
     return(Json(new { success = true, data = new { success = true } }, JsonRequestBehavior.AllowGet));
 }