Beispiel #1
0
 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);
 }
Beispiel #2
0
        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);
        }