public ActionResult Login(string pw) { if (!string.IsNullOrWhiteSpace(pw) && HGameAuth.Login(pw)) { return(Redirect("/Admin")); } return(View()); }
public ActionResult Logout() { HGameAuth.Logout(); return(Redirect("/Admin/Login")); }