12 lines
539 B
C#
12 lines
539 B
C#
using DigitalData.Core.Abstractions.Infrastructure;
|
|
using EnvelopeGenerator.Domain.Entities;
|
|
|
|
namespace EnvelopeGenerator.Infrastructure.Contracts
|
|
{
|
|
public interface IEnvelopeHistoryRepository : ICRUDRepository<EnvelopeHistory, long>
|
|
{
|
|
Task<int> CountAsync(int? envelopeId = null, string? userReference = null, int? status = null);
|
|
|
|
Task<IEnumerable<EnvelopeHistory>> ReadAsync(int? envelopeId = null, string? userReference = null, int? status = null, bool withSender = false, bool withReceiver = false);
|
|
}
|
|
} |