public async Task <Configuration?> GetConfiguration( string connector, string name, [Service] IConfigurationDatabase configurationDatabase) => (await configurationDatabase.GetConfigurationSource(connector, name)) is null ? null : new Configuration(connector, name);
public async Task <SourceConfig?> GetConfig( [Parent] Configuration configuration, [Service] IConfigurationDatabase configurationDatabase) => await configurationDatabase.GetConfigurationSource(configuration.Connector, configuration.Name);