コード例 #1
0
        private void DisplayOutings()
        {
            Console.Clear();

            List <OutingContent> outings = _outingRepo.ListAllOutings();

            foreach (OutingContent events in outings)
            {
                Console.WriteLine($"Event Type: {events.TypeOfEvent}\n" +
                                  $"Event Date: {events.Date}\n" +
                                  $"Event Cost: {events.CostOfEvent}");
            }
        }