using GB5Shared.DTO.Framework.Login;
namespace FrameworkDAL.CustomCode.EIPConversation.EIPIdempotency
{
public interface IEIPIdempotencyDAL
{
///
/// Atomically records an idempotency key in TEIPIDEMPOTENCYRECORD.
/// Returns true if the key was new (proceed); false if already recorded (duplicate — skip).
///
Task TryRecordAsync(
string idempotencyKey,
string actionName,
LoginDTO login,
CancellationToken cancellationToken = default);
}
}