18 lines
381 B
C#
18 lines
381 B
C#
using Backend.Domain;
|
|
|
|
namespace Backend.Repositories;
|
|
|
|
public interface IRiskFlagRepository
|
|
{
|
|
Task<bool> ExistsOpenRecentAsync(
|
|
int? seasonId,
|
|
string? twitchUserId,
|
|
string source,
|
|
string type,
|
|
string clientIp,
|
|
DateTimeOffset threshold,
|
|
CancellationToken cancellationToken = default);
|
|
|
|
void Add(RiskFlag riskFlag);
|
|
}
|