Exemplo n.º 1
0
        public ActionResult CheckLogin(string username, string password)
        {
            var db     = new LoginBusiness();
            var result = db.AdminCheckLogin(username, password);

            return(Json(new { result }, JsonRequestBehavior.AllowGet));
        }