Standardwert des Eingangs 'withReceiver' in EnvelopeHistory.ReadAsync aktualisieren

This commit is contained in:
Developer 02 2024-06-03 16:58:14 +02:00
parent 8d5493969f
commit 65618e5df9
3 changed files with 1 additions and 4 deletions

View File

@ -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; }

View File

@ -7,6 +7,6 @@ namespace EnvelopeGenerator.Infrastructure.Contracts
{
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);
Task<IEnumerable<EnvelopeHistory>> ReadAsync(int? envelopeId = null, string? userReference = null, int? status = null, bool withReceiver = true);
}
}

View File

@ -28,8 +28,6 @@ namespace EnvelopeGenerator.Infrastructure.Repositories
if(withReceiver)
query = query.Include(eh => eh.Receiver);
string qSt = query.ToQueryString();
return query;
}