private void SeedMenu() { Outings outings = new Outings(DateTime.Parse("5/5/2019"), 27, 1, 30, TypeOfEvent.AmusementPark); Outings outingsTwo = new Outings(DateTime.Parse("3/6/2019"), 27, 17, 459, TypeOfEvent.Concert); Outings outingsThree = new Outings(DateTime.Parse("1/20/2019"), 27, 8, 300, TypeOfEvent.Golf); _outingsRepo.CreateOuting(outings); _outingsRepo.CreateOuting(outingsTwo); _outingsRepo.CreateOuting(outingsThree); }
public void TestMethod1() { _outingsRepo = new OutingsRepository(); _outings = new Outings(DateTime.Parse("5/5/2019"), 27, 17, 459, TypeOfEvent.AmusementPark); _outingsRepo.CreateOuting(_outings); }