I need to get multiple excel files (SSRS reports), put them in folder and zip it. This is how I tried, but it's not working:
public ActionResult PricingReports( List<int> productIds )
{
    MemoryStream memStream = new MemoryStream();
    using ( ZipArchive archive = new ZipArchive( memStream, ZipArchiveMode.Update ) )
    {
        foreach ( int id in productIds )
        {
            //preparing single excel file
            ReportModel model = PrepareReportModel( values );
            _ssrs.GetReport( model, "EXCEL" );
            ZipArchiveEntry singleReport = archive.CreateEntry( "PricingReport" + " - " + id );
            using ( BinaryWriter binWriter = new BinaryWriter( singleReport.Open() ) )
            {
                binWriter.Write( model.ReportBits );
            }
        }
    }
    return File( memStream.ToArray(), System.Net.Mime.MediaTypeNames.Application.Octet, "Pricing reports" );
}
