Optimize data handling by embedding EnvelopeResponse in Razor Page, eliminating additional requests
This commit is contained in:
@@ -83,7 +83,7 @@ namespace EnvelopeGenerator.Web.Controllers
|
||||
var envelope = await _envelopeService.ReadByUuidAsync(uuid: decodedId.EnvelopeUuid, signature: decodedId.ReceiverSignature, withAll:true);
|
||||
database.Services.actionService.EnterCorrectAccessCode(response.Envelope, response.Receiver); //for history
|
||||
ViewData["EnvelopeKey"] = envelopeReceiverId;
|
||||
ViewData["EnveResponse"] = response;
|
||||
ViewData["EnvelopeResponse"] = response;
|
||||
return View("ShowEnvelope", envelope);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user