So, in my back-end I\'m saving it locally and send it as a byte stream:
C# code:
public async Task ExportToCsv(string siteId) { var