Exemplo n.º 1
0
        public JsonResult doAdminSignin(string UserCode, string UPassword)
        {
            ResultModel <User> rst = new ResultModel <User>();

            rst.ResultStatus = UserBLL.AdminSignin(UserCode, UPassword, out rst.ResultObj, out rst.ResultMessage);
            if (rst.ResultStatus == 1)
            {
                Session["SigninedUser"] = rst.ResultObj;
            }
            return(Json(rst));
        }