private void SeedOutings() { GolfOuting golfOuting1 = new GolfOuting(new DateTime(2019, 9, 1), 20, 25.00m, 1000.00m); _outings.AddOuting(golfOuting1); GolfOuting golfOuting2 = new GolfOuting(new DateTime(2019, 6, 1), 15, 25.00m, 800.00m); _outings.AddOuting(golfOuting2); ConcertOuting concertOuting1 = new ConcertOuting(new DateTime(2020, 1, 6), 40, 30.00m, 5000.00m); _outings.AddOuting(concertOuting1); ConcertOuting concertOuting2 = new ConcertOuting(new DateTime(2019, 2, 2), 10, 15.00m, 600.00m); _outings.AddOuting(concertOuting2); AmusementParkOuting amusement1 = new AmusementParkOuting(new DateTime(2019, 5, 11), 20, 25.00m, 1000.00m); _outings.AddOuting(amusement1); AmusementParkOuting amusement2 = new AmusementParkOuting(new DateTime(2019, 7, 7), 50, 40.00m, 8000.00m); _outings.AddOuting(amusement2); BowlingOuting bowling1 = new BowlingOuting(new DateTime(2019, 3, 3), 50, 5.00m, 800.00m); _outings.AddOuting(bowling1); BowlingOuting bowling2 = new BowlingOuting(new DateTime(2019, 11, 4), 60, 5.00m, 900.00m); _outings.AddOuting(bowling2); }
public void Arrange() { GolfOuting golfOuting1 = new GolfOuting(); golfOuting1.TotalCost = 500m; _outings.AddOuting(golfOuting1); GolfOuting golfOuting2 = new GolfOuting(); golfOuting2.TotalCost = 250m; _outings.AddOuting(golfOuting2); ConcertOuting concertOuting1 = new ConcertOuting(); concertOuting1.TotalCost = 200m; _outings.AddOuting(concertOuting1); ConcertOuting concertOuting2 = new ConcertOuting(); concertOuting2.TotalCost = 400m; _outings.AddOuting(concertOuting2); AmusementParkOuting amusement1 = new AmusementParkOuting(); amusement1.TotalCost = 1000m; _outings.AddOuting(amusement1); AmusementParkOuting amusement2 = new AmusementParkOuting(); amusement2.TotalCost = 2000m; _outings.AddOuting(amusement2); BowlingOuting bowling1 = new BowlingOuting(); bowling1.TotalCost = 100m; _outings.AddOuting(bowling1); BowlingOuting bowling2 = new BowlingOuting(); bowling2.TotalCost = 300m; _outings.AddOuting(bowling2); }