Refactor envelope creation commands and DTOs

Removed `CreateEnvelopeCommand` and introduced `CreateEnvelopeReceiverCommand` with updated parameters. Updated `ReceiverGetOrCreateDto` to include a new `Salution` parameter. Added XML documentation for the new command and associated DTOs.
This commit is contained in:
Developer 02
2025-04-10 18:08:35 +02:00
parent 049827a133
commit b2cc0cb65a
2 changed files with 4 additions and 4 deletions

View File

@@ -182,7 +182,7 @@ public class EnvelopeReceiverController : ControllerBase
/// <response code="500">Es handelt sich um einen unerwarteten Fehler. Die Protokolle sollten überprüft werden.</response>
[Authorize]
[HttpPost]
public async Task<IActionResult> CreateAsync([FromBody] CreateEnvelopeCommand createEnvelopeQuery, CancellationToken cancellationToken)
public async Task<IActionResult> CreateAsync([FromBody] CreateEnvelopeReceiverCommand createEnvelopeQuery, CancellationToken cancellationToken)
{
await _mediator.Send(createEnvelopeQuery, cancellationToken);
return Accepted();