Add WorkerController API to control background Worker service

Introduced a new WorkerController with endpoints to start, stop, and restart the background Worker service via HTTP API. The controller uses dependency injection to locate the Worker instance and logs each operation. Also removed an unused Controllers folder reference from the project file.
This commit is contained in:
2026-04-01 11:52:07 +02:00
parent 4e847fa737
commit 15f8baf54c
2 changed files with 44 additions and 4 deletions

View File

@@ -26,10 +26,6 @@
<ProjectReference Include="..\EnvelopeGenerator.PdfEditor\EnvelopeGenerator.PdfEditor.csproj" />
</ItemGroup>
<ItemGroup>
<Folder Include="Controllers\" />
</ItemGroup>
<ItemGroup>
<Compile Update="Jobs\FinalizeDocument\rptEnvelopeHistory.cs">
<SubType>Component</SubType>