refactor(EnvelopeLocked): envelopeRecevier-Modell aus der Ansicht entfernt.

This commit is contained in:
Developer 02
2024-11-28 23:56:18 +01:00
parent 4b77713df4
commit 551ba595b6
2 changed files with 2 additions and 9 deletions

View File

@@ -134,7 +134,7 @@ namespace EnvelopeGenerator.Web.Controllers
ViewData["UserCulture"] = _cultures[UserLanguage];
return await _envRcvService.ReadByEnvelopeReceiverIdAsync(envelopeReceiverId: envelopeReceiverId).ThenAsync(
Success: er => View(er).WithData("EnvelopeKey", envelopeReceiverId),
Success: er => View().WithData("EnvelopeKey", envelopeReceiverId),
Fail: IActionResult (messages, notices) =>
{
_logger.LogNotice(notices);