public JsonResult Insert_VehChkList(List <DocumentCheckList> objects) { //string strCheckedValues bool result = false; int count = 0; string msg = "Failed to save record.."; // result = BookingOrderMethods.Insert_VehChkList(strCheckedValues, Session["DealerCode"].ToString()); result = BookingOrderMethods.Insert_VehChkLists(objects, Session["DealerCode"].ToString(), ref msg); if (result) { msg = "Successfully Added"; } return(Json(new { Success = result, Message = msg }, JsonRequestBehavior.AllowGet)); }