public ActionResult LoginAdmin() { bool authcheck = new LoginBiz().IpCheck(Request.UserHostAddress); if (!authcheck) { return View("Login"); } else { return View(); } }
public RedirectResult Logout() { GepLoginData resultData = new LoginBiz().LogOut(); return Redirect("/Home/Index"); }
public JsonResult GetLoginProc(string id, string pwd) { GepLoginData resultData = new LoginBiz().TaUserLoginProc(id, pwd); return Json(resultData, JsonRequestBehavior.AllowGet); }