コード例 #1
0
        public JsonResult Insert_VehChkList(string strCheckedValues)
        {
            bool   result = false;
            string msg    = "Failed to save record..";

            result = VehReceiptMethods.Insert_VehChkList(strCheckedValues, Session["DealerCode"].ToString(), ref msg);

            if (result)
            {
                msg = "Successfully Added";
            }

            return(Json(new { Success = result, Message = msg }, JsonRequestBehavior.AllowGet));
        }