public FileContentResult DownloadContent() { var myfile = System.IO.File.ReadAllBytes("wwwroot/Files/FileContentResult.pdf"); return new FileContentResult(myfile, "application/pdf"); }
public FileContentResult DownloadContent() { var myfile = System.IO.File.ReadAllBytes("wwwroot/Files/FileContentResult.pdf"); return new FileContentResult(myfile, "application/pdf"); }