I want to have my pdf files sent this way to my users :
public ActionResult GetPDF( string filename )
{
return File( filename, "application/pdf", Server.HtmlEncode( filename ) );
}
But I don't know how to create a route that will catch all the different pdf file in my site?
Thanks a lot for the help!