public void Test_GetListOfOutings() { //Arrange //Act List <Outing> localList = repo.GetListOfOutings(); //Assert Assert.IsNotNull(localList); }
private void DisplayOutings() { Console.Clear(); List <Outing> listOfOutings = repo.GetListOfOutings(); foreach (Outing outing in listOfOutings) { Console.WriteLine($"Event Type: {outing.TypeOfEvent}\n" + $"Number of people attended: {outing.PeopleInAttendance}\n" + $"Date of event: {outing.EventDate.ToString("d")}\n" + $"Total cost per person: ${outing.TotalCostPerPerson}\n" + $"Total cost for the event: ${outing.TotalCostEvent}\n"); } }