public ActionResult Systemic_Destroy([DataSourceRequest] DataSourceRequest request, SystemicIssuesViewModel db) { if (db != null) { SystemicIssuesService.Destroy(db); } return(Json(new[] { db }.ToDataSourceResult(request, ModelState))); }
public ActionResult Systemic_Update([DataSourceRequest] DataSourceRequest request, SystemicIssuesViewModel db) { if (db != null && ModelState.IsValid) { SystemicIssuesService.Update(db); } return(Json(new[] { db }.ToDataSourceResult(request, ModelState))); }