Refactor Envelope classes to use Sender instead of User
Updated the `EnvelopeHistoryQuery` to determine `ReferenceType` based on the presence of a `Sender` instead of a `User`. In the `EnvelopeQuery`, replaced the `User` parameter with `Sender`, and updated related properties to reflect this change. This refactor shifts the focus from a user-centric model to a sender-centric model for envelope queries.
This commit is contained in:
@@ -22,7 +22,7 @@ public record EnvelopeHistoryQuery<TEnvelopeQuery, TReceiverQuery>(int EnvelopeI
|
||||
/// Ist keiner von beiden definiert, wird der Referenztyp als System betrachtet.
|
||||
/// </summary>
|
||||
public ReferenceType ReferenceType =>
|
||||
Envelope?.User is not null
|
||||
Envelope?.Sender is not null
|
||||
? ReferenceType.Receiver
|
||||
: Receiver is not null
|
||||
? ReferenceType.Receiver
|
||||
|
||||
Reference in New Issue
Block a user