Standardwert des Eingangs 'withReceiver' in EnvelopeHistory.ReadAsync aktualisieren
This commit is contained in:
parent
8d5493969f
commit
65618e5df9
@ -34,7 +34,6 @@ namespace EnvelopeGenerator.Domain.Entities
|
|||||||
[Column("COMMENT", TypeName = "nvarchar(max)")]
|
[Column("COMMENT", TypeName = "nvarchar(max)")]
|
||||||
public string? Comment { get; set; }
|
public string? Comment { get; set; }
|
||||||
|
|
||||||
|
|
||||||
//[ForeignKey("UserReference")]
|
//[ForeignKey("UserReference")]
|
||||||
//public virtual DigitalData.UserManager.Domain.Entities.User? Sender { get; set; }
|
//public virtual DigitalData.UserManager.Domain.Entities.User? Sender { get; set; }
|
||||||
|
|
||||||
|
|||||||
@ -7,6 +7,6 @@ namespace EnvelopeGenerator.Infrastructure.Contracts
|
|||||||
{
|
{
|
||||||
Task<int> CountAsync(int? envelopeId = null, string? userReference = null, int? status = null);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -28,8 +28,6 @@ namespace EnvelopeGenerator.Infrastructure.Repositories
|
|||||||
if(withReceiver)
|
if(withReceiver)
|
||||||
query = query.Include(eh => eh.Receiver);
|
query = query.Include(eh => eh.Receiver);
|
||||||
|
|
||||||
string qSt = query.ToQueryString();
|
|
||||||
|
|
||||||
return query;
|
return query;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user