private List<Dinner> CreateTestDinners() { List<Dinner> dinners = new List<Dinner>(); for (int i = 0; i < 101; i++) { Dinner sampleDinner = new Dinner() { Id = i.ToString(), Name = "Sample Dinner" + i.ToString(), Location = "Sample Dinner Location" + i.ToString() }; dinners.Add(sampleDinner); } return dinners; }
public void Add(Dinner dinner) { }
public void Add(Dinner dinner) { _db.Add(dinner); }
public void Add(Dinner dinner) { _dinnerList.Add(dinner); }