public ActionResult DeleteTrialCenterProcedureRole([DataSourceRequest] DataSourceRequest request, TrialCenterProcedureRole role) { if (role != null) { DataProvider.Delete(role); } return Json(role); }
public ActionResult AddTrialCenterProcedureRole([DataSourceRequest] DataSourceRequest request, TrialCenterProcedureRole role) { if (role != null && ModelState.IsValid) { DataProvider.Add(role); } return Json(role); }