示例#1
0
        public ActionResult List([DataSourceRequest] DataSourceRequest request)
        {
            var list = tableProvider.GetTables();

            return(Json(list.ToDataSourceResult(request)));
        }
示例#2
0
        public ActionResult GetTables(bool isUpdating)
        {
            var tables = tableProvider.GetTables(!isUpdating);

            return(Json(tables, JsonRequestBehavior.AllowGet));
        }