10 lines
328 B
C#
10 lines
328 B
C#
using QRRapidoApp.Models.DTOs;
|
|
|
|
namespace QRRapidoApp.Services
|
|
{
|
|
public interface IQuotaValidator
|
|
{
|
|
Task<(bool CanProceed, string? ErrorCode, string? ErrorMessage)> ValidateQuotaAsync(UserRequesterContext context);
|
|
Task RegisterUsageAsync(UserRequesterContext context, string qrId, int cost = 1);
|
|
}
|
|
} |