コード例 #1
0
        private void DisplayAllOutings()
        {
            Console.Clear();
            List <Outings> allOutings = _repo.GetAllOutings();

            foreach (Outings outings in allOutings)
            {
                Console.WriteLine($"Attendance: {outings.Attendance}\n" +
                                  $"Event Type: {outings.EventType}\n" +
                                  $"Date Of Events: {outings.Date}\n" +
                                  $"Cost Per Person: {outings.CostPerPerson}\n" +
                                  $"Cost Per Event: {outings.CostPerEvent}");
            }
        }