diff --git a/EnvelopeGenerator.Domain/Entities/EnvelopeHistory.cs b/EnvelopeGenerator.Domain/Entities/EnvelopeHistory.cs index 68a40422..0595d379 100644 --- a/EnvelopeGenerator.Domain/Entities/EnvelopeHistory.cs +++ b/EnvelopeGenerator.Domain/Entities/EnvelopeHistory.cs @@ -34,7 +34,6 @@ namespace EnvelopeGenerator.Domain.Entities [Column("COMMENT", TypeName = "nvarchar(max)")] public string? Comment { get; set; } - //[ForeignKey("UserReference")] //public virtual DigitalData.UserManager.Domain.Entities.User? Sender { get; set; } diff --git a/EnvelopeGenerator.Infrastructure/Contracts/IEnvelopeHistoryRepository.cs b/EnvelopeGenerator.Infrastructure/Contracts/IEnvelopeHistoryRepository.cs index 99e95e7b..efe9a74a 100644 --- a/EnvelopeGenerator.Infrastructure/Contracts/IEnvelopeHistoryRepository.cs +++ b/EnvelopeGenerator.Infrastructure/Contracts/IEnvelopeHistoryRepository.cs @@ -7,6 +7,6 @@ namespace EnvelopeGenerator.Infrastructure.Contracts { Task CountAsync(int? envelopeId = null, string? userReference = null, int? status = null); - Task> ReadAsync(int? envelopeId = null, string? userReference = null, int? status = null); + Task> ReadAsync(int? envelopeId = null, string? userReference = null, int? status = null, bool withReceiver = true); } } \ No newline at end of file diff --git a/EnvelopeGenerator.Infrastructure/Repositories/EnvelopeHistoryRepository.cs b/EnvelopeGenerator.Infrastructure/Repositories/EnvelopeHistoryRepository.cs index 424530da..a6db9fc5 100644 --- a/EnvelopeGenerator.Infrastructure/Repositories/EnvelopeHistoryRepository.cs +++ b/EnvelopeGenerator.Infrastructure/Repositories/EnvelopeHistoryRepository.cs @@ -28,8 +28,6 @@ namespace EnvelopeGenerator.Infrastructure.Repositories if(withReceiver) query = query.Include(eh => eh.Receiver); - string qSt = query.ToQueryString(); - return query; }