Пример #1
0
        public JsonResult Insert_Guarantor(List <GuarantorVM> objects)
        {
            bool result = false;

            string msg = "Failed to save record..";

            result = CustomerMethods.Insert_Guarantor(objects, Session["DealerCode"].ToString());

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

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