// Get an object and delete private void DeleteContent() { _console.WriteLine("Enter name of meal you would like to delete:"); string name = _console.ReadLine(); MealItem existingContent = _cafeRepo.GetMealByName(name); _cafeRepo.DeleteExistingMenuItems(existingContent.Name); _console.WriteLine("Your item has been deleted. Press any key to contiune..."); _console.ReadKey(); }