// #3 on the menu private void OutingsByTypeCost() { Clear(); WriteLine("\nEnter the Number Type for Outings to View:\n" + "1. Golf\n" + "2. Bowling\n" + "3. Amusement Park\n" + "4. Concert\n"); string outingTypeInt = ReadLine(); Double typeCost = 0; String typeStr = ""; switch (outingTypeInt) { case "1": typeCost = _outingsRepo.GetOutingsByTypeTotal(OutingType.Golf); typeStr = "Golf"; break; case "2": typeCost = _outingsRepo.GetOutingsByTypeTotal(OutingType.Bowling); typeStr = "Bowling"; break; case "3": typeCost = _outingsRepo.GetOutingsByTypeTotal(OutingType.AmusementPark); typeStr = "Amusement Park"; break; case "4": typeCost = _outingsRepo.GetOutingsByTypeTotal(OutingType.Concert); typeStr = "Concert"; break; case "0": WriteLine("Exiting....\n"); Thread.Sleep(1200); break; } WriteLine($"\n{typeStr} Outings Cost: ${typeCost}"); }