public ActionResult DeleteData(string targetId, string targetId2) { bool success; WebView.WebService._base myWebService; myWebService = new WebService._base(); success = myWebService.Delete_DllVersion(targetId, targetId2); return(Json(new { Success = success }, JsonRequestBehavior.AllowGet)); }