refactor(HomeController): add fromRoute attributes

This commit is contained in:
2025-09-17 10:49:18 +02:00
parent c41c521fca
commit 56074c2b9f
2 changed files with 2 additions and 3 deletions

View File

@@ -370,7 +370,7 @@ public class HomeController : ViewControllerBase
[Authorize(Roles = ReceiverRole.FullyAuth)]
[HttpGet("{envelopeReceiverId}/Success")]
[Obsolete("Use DigitalData.Core.Exceptions and .Middleware")]
public async Task<IActionResult> EnvelopeSigned(string envelopeReceiverId, CancellationToken cancel)
public async Task<IActionResult> EnvelopeSigned([FromRoute] string envelopeReceiverId, CancellationToken cancel)
{
try
{
@@ -404,7 +404,7 @@ public class HomeController : ViewControllerBase
[Authorize(Roles = ReceiverRole.FullyAuth)]
[HttpGet("{envelopeReceiverId}/Rejected")]
[Obsolete("Use MediatR")]
public async Task<IActionResult> EnvelopeRejected(string envelopeReceiverId)
public async Task<IActionResult> EnvelopeRejected([FromRoute] string envelopeReceiverId)
{
try
{