10 lines
345 B
C#
10 lines
345 B
C#
using RecNet.Domain.Entities.Configuration;
|
|
|
|
namespace RecNet.Domain.Repositories;
|
|
|
|
public interface IServerConfigRepository
|
|
{
|
|
Task<ServerConfig?> GetAsync(string key, CancellationToken ct = default);
|
|
Task SetAsync(string key, string value, CancellationToken ct = default);
|
|
Task SaveChangesAsync(CancellationToken ct = default);
|
|
} |