Beispiel #1
0
        public async Task <IActionResult> DownloadCsv(bool exceptSamePersonTransaction)
        {
            await Task.Yield();

            var csv = CoreService.CsvExportAllTransactions(exceptSamePersonTransaction);

            return(File(sjisEnc.GetBytes(csv), "text/csv", "VetCointTransactions.csv"));
        }