This commit is contained in:
the 2023-05-19 19:38:08 +04:00
parent e13b57c898
commit 1283b13869

View File

@ -147,6 +147,17 @@ namespace ComputerShopClientApp.Controllers
}
}
[HttpGet]
public IActionResult GetWordFile()
{
return new PhysicalFileResult("F:\\ReportsCourseWork\\wordfile.docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document");
}
public IActionResult GetExcelFile()
{
return new PhysicalFileResult("F:\\ReportsCourseWork\\excelfile.xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet");
}
[HttpGet]
public IActionResult Enter()
{