Bug fix for export
This commit is contained in:
@ -98,7 +98,7 @@ public class ExportController : Controller, IExportController<IActionResult>
|
||||
public IActionResult GetCSVExport(int toolTypeId, [FromQuery] string? datebegin, [FromQuery] string? dateend, [FromQuery] string? filename)
|
||||
{
|
||||
string r = _ExportRepository.GetCSVExport(_MetrologyRepository, toolTypeId, datebegin, dateend);
|
||||
return File(r, "application/octet-stream", filename);
|
||||
return Content(r);
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user