private void SetDataSource() { ViewData["InterfaceFields"] = interfaceFieldService.GetEntitiesUnDeletedByMetaObjectId(CurrentMetaObjectId); ViewData["SearchConditions"] = searchConditionService.GetEntitiesUnDeletedByMetaObjectId(CurrentMetaObjectId); ViewData["Forms"] = _formService.GetEntitiesByMetaObjectId(CurrentMetaObjectId); ViewData["ScriptDataSources"] = _dataSourceService.GetListByAppIdAndDataSourceType(CurrentApplicationId, DataSourceType.Script); ViewData["JsonDataSources"] = _dataSourceService.GetListByAppIdAndDataSourceType(CurrentApplicationId, DataSourceType.Json); }
public IActionResult ScriptDataSourceList() { return(View(_dataSourceService.GetListByAppIdAndDataSourceType(CurrentApplicationId, DataSourceType.Script))); }