Beispiel #1
0
        public JsonResult Check_ChassisNo(string chassisNo)
        {
            string msg = "";
            bool result = false;
            //result = VehReceiptMethods.Check_ChassisNo(chassisNo,engineNo, DealerCode);
            DealerCode = Session["DealerCode"].ToString();
            if (VehReceiptMethods.Check_ChassisNo(chassisNo, DealerCode))
            {
                msg = "This Chassis No car is already exist";
                result = true;
            }           

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