From 99fedbf64fb99e8c03e4f13494e8481ca8af42ae Mon Sep 17 00:00:00 2001 From: michele Date: Thu, 11 Apr 2024 09:12:08 +0200 Subject: [PATCH] Michele: modificato nome file excel --- Controllers/RapportiniController.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Controllers/RapportiniController.cs b/Controllers/RapportiniController.cs index d2de355..e189cda 100644 --- a/Controllers/RapportiniController.cs +++ b/Controllers/RapportiniController.cs @@ -216,7 +216,8 @@ namespace VirtualTask.Controllers //workbook.SaveAs($"C:\\Users\\utente\\Desktop\\ExcelVT\\buoni_{dateFile}.xlsx"); string contentType = "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"; - string fileName = "authors.xlsx"; + //string fileName = "authors.xlsx"; + string fileName = $"buoni_{dateFile}.xlsx"; using (var stream = new MemoryStream()) { workbook.SaveAs(stream);