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