12 lines
602 B
C#
12 lines
602 B
C#
using DigitalData.Core.Contracts.Infrastructure;
|
|
using EnvelopeGenerator.Domain.Entities;
|
|
|
|
namespace EnvelopeGenerator.Infrastructure.Contracts
|
|
{
|
|
public interface IEnvelopeRepository : ICRUDRepository<Envelope, int>
|
|
{
|
|
Task<IEnumerable<Envelope>> ReadAllWithAsync(bool documents = false, bool receivers = false, bool history = false, bool documentReceiverElement = true);
|
|
|
|
Task<Envelope?> ReadByUuidAsync(string uuid, string? signature = null, bool withDocuments = false, bool withReceivers = false, bool withHistory = false, bool withDocumentReceiverElement = false);
|
|
}
|
|
} |