Beispiel #1
0
        public JsonResult Insert_ProdRecDetail( List<ProdReceiptDetailVM> objects,List<ProdReceiptDetailVM> objectFeatures)
        {
            bool result = false;
            string msg = "Failed to save record..";
            DealerCode = Session["DealerCode"].ToString();
            
            result = VehReceiptMethods.Insert_ProdDetail(objects, DealerCode,ref msg);

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

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