예제 #1
0
 /// <summary>
 /// Page to logout the user.
 /// </summary>
 /// <returns>Redirection to the home page.</returns>
 public ActionResult Logout()
 {
     CustomAuthentication.SignOut();
     return(Redirect("/"));
 }
 public void SignOutNoException()
 {
     CustomAuthentication.SignOut();
 }