public void Export(CollectionDay day) { var data = new TileData { Date = day.Date, IsGeneralWaste = day.Bins.Any(x => x.BinType == BinType.GeneralWaste), IsRecycling = day.Bins.Any(x => x.BinType == BinType.Recycling), IsGreen = day.Bins.Any(x => x.BinType == BinType.Green) }; ExportSmall(data); ExportStandard(data); ExportWide(data); }
public void Export(CollectionDay day) { var data = new TileData { Date = day.Date, IsGeneralWaste = day.Bins.Any(x => x.BinType == BinType.GeneralWaste), IsRecycling = day.Bins.Any(x => x.BinType == BinType.Recycling), IsGreen = day.Bins.Any(x => x.BinType == BinType.Green) }; ExportSmall(data); ExportStandard(data); ExportWide(data); }