8 lines
257 B
C#
8 lines
257 B
C#
namespace RecNet.Domain.Services.Configuration;
|
|
|
|
public interface IConfigService
|
|
{
|
|
Task<T?> GetAsync<T>(string key, T? defaultValue = default, CancellationToken ct = default);
|
|
Task SetAsync<T>(string key, T value, CancellationToken ct = default);
|
|
}
|