public ActionResult Report3(List <ItemSaleItemSale> sale) { CustomerList rpt = new CustomerList(); rpt.SetDataSource(sale); Stream s = rpt.ExportToStream(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat); return(File(s, "application/pdf")); }