Esempio n. 1
0
        internal static void DisplayCandyNames(CandyStorage db)
        {
            var candyName     = db.GetNames();
            var candyNameMenu = new View()
                                .AddMenuText("Select from the following:")
                                .AddMenuOptions(candyName);

            Console.Write(candyNameMenu.GetFullMenu());
            Console.ReadKey();
        }