示例#1
0
 public ActionResult Login(string pw)
 {
     if (!string.IsNullOrWhiteSpace(pw) && HGameAuth.Login(pw))
     {
         return(Redirect("/Admin"));
     }
     return(View());
 }
示例#2
0
 public ActionResult Logout()
 {
     HGameAuth.Logout();
     return(Redirect("/Admin/Login"));
 }