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