I am implementing a .Net Core 3.1 REST API that needs to generate a PDF file for a given contract (the contract ID is known).
I have adopted the following code in Act