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