public void SeedList() { CarContent contentOne = new CarContent("Buick", CarType.Gas, "V6", "30mpg", "Front Wheel"); CarContent contentTwo = new CarContent("Smart Car", CarType.Electic, "battery", "40mppg", "Front Wheel"); CarContent contentThree = new CarContent("Hybrid Car", CarType.Hybrid, "Battery, 4 cylinder", "40mpg", "Four Wheel"); AddToList(contentOne); AddToList(contentTwo); AddToList(contentThree); }
public void AddToList(CarContent content) { _carList.Add(content); }