private void AddOuting() { Console.Clear(); OutingsDetails content = new OutingsDetails(); Console.WriteLine("Add an outing to the list here."); Console.WriteLine("Please select the event type:\n" + "1. Golf\n" + "2. Bowling\n" + "3. Amusement Park\n" + "4. Concert\n"); string eventType = Console.ReadLine(); int eventNumber = int.Parse(eventType); content.EventType = (EventType)eventNumber; Console.WriteLine("Please enter the number of people that attended:"); string attendInput = Console.ReadLine(); int attendNumber = int.Parse(attendInput); content.NumAttend = attendNumber; Console.WriteLine("Please enter the date of the event:"); string dateEvent = Console.ReadLine(); DateTime dateNumbers = DateTime.Parse(dateEvent); content.DateAttend = dateNumbers; Console.WriteLine("Please enter the total cost per person:"); string personCost = Console.ReadLine(); double personNumber = double.Parse(personCost); content.IndCost = personNumber; Console.WriteLine("Please enter the total cost of the outing:"); string totalCost = Console.ReadLine(); double totalNumber = double.Parse(totalCost); content.TotCost = totalNumber; _outingsRepository.AddOutingsDetails(content); }