public ActionResult DownloadFile(Guid?id) { var inv = this.associateService.GetInvoiceFile(null, id); return(FileStreamHelper.FileDownloadModelResult(inv, this.HttpContext, true)); }
public ActionResult DownloadInvoice(int id) { FileDownloadModel inv = this.associateService.GetInvoiceFile(id); return(FileStreamHelper.FileDownloadModelResult(inv, this.HttpContext, true)); }