public ActionResult List([DataSourceRequest] DataSourceRequest request) { var list = tableProvider.GetTables(); return(Json(list.ToDataSourceResult(request))); }
public ActionResult GetTables(bool isUpdating) { var tables = tableProvider.GetTables(!isUpdating); return(Json(tables, JsonRequestBehavior.AllowGet)); }