private void Calculations() { List <OutingContent> listContents = _repo.GetAllOutings(); Console.Clear(); Console.WriteLine("What would you like to see\n" + "1. Combined cost of all outings\n" + "2. Outing Cost by type"); switch (Console.ReadLine()) { case "1": //foreach (OutingContent item in listContents) //{ // item.TotalCost; //} double total = listContents.Sum(item => item.TotalCost); Console.WriteLine($"All outings combined cost: {total:C}"); Console.ReadKey(); break; case "2": Console.WriteLine("Enter Event Type:\n" + "1. Amusement Park\n" + "2. Bowling\n" + "3. Concert\n" + "4. Golf"); Events events = (Events)int.Parse(Console.ReadLine()); var pulledEvents = _repo.GetOutingByType(events); Console.WriteLine($"All {events} outings cost {listContents.Sum(item => pulledEvents.TotalCost):C}"); //getting incorrect number when add Console.ReadKey(); break; default: Console.WriteLine("Error... please enter valid option..."); break; } }