9 lines
315 B
C#
9 lines
315 B
C#
namespace RecNet.Application.Common.Interfaces;
|
|
|
|
public interface IConfigService
|
|
{
|
|
Task<T?> GetAsync<T>(string key, CancellationToken ct = default);
|
|
Task<T> GetAsync<T>(string key, T defaultValue, CancellationToken ct = default);
|
|
Task SetAsync<T>(string key, T value, CancellationToken ct = default);
|
|
}
|