public void SeedList() { Outings outing = new Outings(OutingType.Golf, 30, new DateTime(08 / 18 / 2019), 25.00m); Outings outingTwo = new Outings(OutingType.Bowling, 25, new DateTime(02 / 20 / 2019), 10.00m); Outings outingThree = new Outings(OutingType.AmusementPark, 50, new DateTime(05 / 07 / 2019), 110.00m); Outings outingFour = new Outings(OutingType.Concert, 40, new DateTime(07 / 15 / 2019), 40.00m); Outings outingFive = new Outings(OutingType.Bowling, 35, new DateTime(04 / 19 / 2019), 10.00m); Outings outingSix = new Outings(OutingType.Concert, 20, new DateTime(06 / 01 / 2019), 40.00m); Outings outingSeven = new Outings(OutingType.Bowling, 30, new DateTime(09 / 19 / 2019), 10.00m); _outingsList.Add(outing); _outingsList.Add(outingTwo); _outingsList.Add(outingThree); _outingsList.Add(outingFour); _outingsList.Add(outingFive); _outingsList.Add(outingSix); _outingsList.Add(outingSeven); }
public void AddOutingToList(Outings outing) { _outingsList.Add(outing); }