public ActionResult AddTrialMaterial([DataSourceRequest] DataSourceRequest request, TrialMaterial trialMaterial)
        {
            if (trialMaterial != null && ModelState.IsValid)
            {
                DataProvider.Add(trialMaterial);
            }

            return Json(new[] { trialMaterial }.ToDataSourceResult(request, ModelState));
        }
        public ActionResult DeleteTrialMaterial([DataSourceRequest] DataSourceRequest request, TrialMaterial trialMaterial)
        {
            if (trialMaterial != null)
            {
                DataProvider.Delete(trialMaterial);
            }

            return Json(new[] { trialMaterial }.ToDataSourceResult(request, ModelState));
        }