public JsonResult Select_DelChkList(string DealerCode) { string data = ""; bool result = false; data = VehReceiptMethods.Get_DelChkList(DealerCode); if (!string.IsNullOrEmpty(data)) { result = true; } return(Json(new { Success = result, Response = data }, JsonRequestBehavior.AllowGet)); }