Im working on a .NET Core Web Application. I need to creata a PDF from HTML. My idea is to use a controller and view to make the HTML and then convert it to PDF.
How do i call the controller and make it return the HTML inside the project instead of serving it.
The html wont be sent to a client. Only used to create an HTML. Maybe a controller/view is not the way to go?