public void SeedList() { OutingContent outing = new OutingContent(65, DateTime.Parse("2019/06/15"), OutingType.Golf, 75m, 4875m); OutingContent outingTwo = new OutingContent(45, DateTime.Parse("2019/04/22"), OutingType.Bowling, 40m, 200m); OutingContent outingThree = new OutingContent(40, DateTime.Parse("2019/07/25"), OutingType.AmusementPark, 50m, 200m); AddOutingContentToList(outing); AddOutingContentToList(outingTwo); AddOutingContentToList(outingThree); }
public void AddToList(OutingContent content) { _outingList.Add(content); }
public void AddOutingContentToList(OutingContent content) { _listofOutingContent.Add(content); }
public void SeedList() { OutingContent content = new OutingContent(OutingType.Concert, 10, DateTime.Today, 10m); AddToList(content); }