refactor(query): restructure ReceiverAlreadySignedQuery for clarity

- Replaced internal string properties with EnvelopeQuery and ReceiverQuery records
- Updated Key property to encode/decode using the new structured types
- Added overloaded IMediator extension methods IsSignedAsync for better usability
- Simplified ReceiverAlreadySignedQueryHandler to work with the new structure
This commit is contained in:
2025-08-25 16:27:37 +02:00
parent cced0e5579
commit 00bdfeb9bb
2 changed files with 53 additions and 8 deletions

View File

@@ -381,7 +381,7 @@ public class HomeController : ViewControllerBase
if(!isExisting)
return this.ViewEnvelopeNotFound();
var signed = await _mediator.ReceiverAlreadySigned(envelopeReceiverId, cancel);
var signed = await _mediator.IsSignedAsync(envelopeReceiverId, cancel);
if (signed)
return base.Redirect($"/EnvelopeKey/{envelopeReceiverId}/Locked");