Render view to string
How do I render a view to a string?
View -> String -> PDF
First you render the View to string.
A great example for this is shown here - https://stackoverflow.com/questions/40912375/return-view-as-string-in-net-core
Then simply render the string to PDF