Exemplo n.º 1
0
        public ActionResult DownloadFile(Guid?id)
        {
            var inv = this.associateService.GetInvoiceFile(null, id);

            return(FileStreamHelper.FileDownloadModelResult(inv, this.HttpContext, true));
        }
Exemplo n.º 2
0
        public ActionResult DownloadInvoice(int id)
        {
            FileDownloadModel inv = this.associateService.GetInvoiceFile(id);

            return(FileStreamHelper.FileDownloadModelResult(inv, this.HttpContext, true));
        }