I have a ASP.NET Core MVC application and I need an example of how to download a PDF file from a local drive.
I have a web page with a list of pdf files and when a user clicks on one of those links I would like to download that file. The PDF files are on the local drive.
Can someone point me to an example?
There are a bunch of examples on web, but they all show just the Controller part and not the View part.
Thank you.