using DigitalData.Core.Contracts.Infrastructure; using EnvelopeGenerator.Domain.Entities; namespace EnvelopeGenerator.Infrastructure.Contracts { public interface IEnvelopeHistoryRepository : ICRUDRepository { Task CountAsync(int? envelopeId = null, string? userReference = null, int? status = null); Task> ReadAsync(int? envelopeId = null, string? userReference = null, int? status = null, bool withSender = false, bool withReceiver = false); } }