diff --git a/src/presentation/DigitalData.TaskFlow.API/Controllers/DocumentController.cs b/src/presentation/DigitalData.TaskFlow.API/Controllers/DocumentController.cs index 9398cbd..916cf18 100644 --- a/src/presentation/DigitalData.TaskFlow.API/Controllers/DocumentController.cs +++ b/src/presentation/DigitalData.TaskFlow.API/Controllers/DocumentController.cs @@ -18,7 +18,6 @@ public sealed class DocumentController(ISender sender) : ControllerBase /// Document identifier. /// User identifier. /// Process identifier. - /// Return document as byte array. /// Cancellation token. /// Document response envelope grouped by source. [HttpGet("{id:int}")] diff --git a/src/presentation/DigitalData.TaskFlow.API/Controllers/WorkflowsController.cs b/src/presentation/DigitalData.TaskFlow.API/Controllers/WorkflowsController.cs index 9af3a54..c204aed 100644 --- a/src/presentation/DigitalData.TaskFlow.API/Controllers/WorkflowsController.cs +++ b/src/presentation/DigitalData.TaskFlow.API/Controllers/WorkflowsController.cs @@ -27,4 +27,20 @@ public sealed class WorkflowsController(ISender sender) : ControllerBase { return Ok(await sender.Send(new GetWorkflowsQuery(wisagId), cancellationToken)); } + + /// + /// + /// + /// + /// + /// + /// + /// + /// + [HttpPost("{wisagId:int}/{source}/{processId:long}/closing")] + [ProducesResponseType(StatusCodes.Status501NotImplemented)] + public Task> CloseAsync([FromRoute] int wisagId, [FromRoute] string source, [FromRoute] long processId, CancellationToken cancellationToken) + { + throw new NotImplementedException(); + } } diff --git a/src/presentation/DigitalData.TaskFlow.API/Middleware/ExceptionHandlingMiddleware.cs b/src/presentation/DigitalData.TaskFlow.API/Middleware/ExceptionHandlingMiddleware.cs index 41bea14..dff7c1e 100644 --- a/src/presentation/DigitalData.TaskFlow.API/Middleware/ExceptionHandlingMiddleware.cs +++ b/src/presentation/DigitalData.TaskFlow.API/Middleware/ExceptionHandlingMiddleware.cs @@ -63,6 +63,22 @@ public sealed class ExceptionHandlingMiddleware(RequestDelegate next, ILogger