public async Task <IActionResult> DownloadDepositInvoiceDocumentAsync(int invoiceId)
        {
            var fileStream = await _documentGenerationManager.DownloadDepositInvoiceDocumentAsync(invoiceId);

            var file = new FileStreamResult(fileStream, "application/pdf");

            file.FileDownloadName = fileStream.Name;
            return(file);
        }