예제 #1
0
        public JsonResult Insert_ProdRecFeatures(List<ProdReceiptDetailVM> objectsFeatures)
        {
            bool result = false;
            string msg = "Failed to save record..";
            DealerCode = Session["DealerCode"].ToString();

            result = VehReceiptMethods.Insert_ProdFeature(objectsFeatures, DealerCode, ref msg);

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

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