From 9b660cb25a200fa5a5708d1bcf2da28c4e0fdf99 Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 6 Mar 2026 01:20:25 +0100 Subject: [PATCH] Pass model to EnvelopeSigned view on already signed check Previously, the "EnvelopeSigned" view was returned without a model when an envelope was already signed. Now, the er model object is passed to the view to provide additional context or data. --- EnvelopeGenerator.Web/Controllers/EnvelopeController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EnvelopeGenerator.Web/Controllers/EnvelopeController.cs b/EnvelopeGenerator.Web/Controllers/EnvelopeController.cs index fed685c4..4bc9692e 100644 --- a/EnvelopeGenerator.Web/Controllers/EnvelopeController.cs +++ b/EnvelopeGenerator.Web/Controllers/EnvelopeController.cs @@ -91,7 +91,7 @@ public class EnvelopeController : ViewControllerBase if (await _historyService.IsSigned(envelopeId: er.Envelope!.Id, userReference: er.Receiver!.EmailAddress)) { await HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme); - return View("EnvelopeSigned"); + return View("EnvelopeSigned", er); } #endregion