private void CostByType() //case3 { Console.WriteLine("Enter the number for the event type:\n" + "1. Golf\n" + "2. Bowling\n" + "3. Amusement Park\n" + "4. Concert"); int outingType = ParseInput(); OutingType type; switch (outingType) { default: case 1: type = OutingType.Golf; break; case 2: type = OutingType.Bowling; break; case 3: type = OutingType.AmusementPark; break; case 4: type = OutingType.Concert; break; } decimal totalCost = _outingRepo.CostByType(type); Console.WriteLine($"\"{type}\" outings have a total cost of ${totalCost}"); Console.ReadKey(); }