public async Task <IActionResult> GetPdfFile(string fileName) { var path = await _fileStoreService.GetFullPath(fileName); return(File(new System.IO.FileStream(path, System.IO.FileMode.Open, System.IO.FileAccess.Read), "application/pdf")); }
public async Task <IActionResult> GetPdfFile(string fileName) { var path = await _fileStoreService.GetFullPath(fileName); return(File(new System.IO.FileStream(path, System.IO.FileMode.Open, System.IO.FileAccess.Read), "application/pdf")); }