using DigitalData.Core.Contracts.Infrastructure; using EnvelopeGenerator.Domain.Entities; namespace EnvelopeGenerator.Infrastructure.Contracts { public interface IEnvelopeReceiverRepository : ICRUDRepository { Task> ReadByUuidAsync(string uuid, bool withEnvelope = true, bool withReceiver = false); Task> ReadBySignatureAsync(string signature, bool withEnvelope = false, bool withReceiver = true); Task ReadByUuidSignatureAsync(string uuid, string signature, bool withEnvelope = true, bool withReceiver = true); Task ReadAccessCodeAsync(string uuid, string signature); Task CountAsync(string uuid, string signature); Task ReadByIdAsync(int envelopeId, int receiverId); Task ReadAccessCodeByIdAsync(int envelopeId, int receiverId); } }