Exemplo n.º 1
0
        internal void ShowSelectionProductMenu(int key)
        {
            switch (key)
            {
            case 1:
            {
                RingDesignOptions();
                string     ReadKey      = Console.ReadLine();
                BuildQuery selectedRock = new BuildQuery();
                selectedRock.getRockInfo(int.Parse(ReadKey));

                break;
            }

            case 2:
            {
                NecklaceDesignOptions();
                string ReadKey = Console.ReadLine();
                break;
            }

            case 3:
                break;
            }
        }
Exemplo n.º 2
0
        private void ShowDesignOptionsDependingOnType(string type)
        {
            switch (type)
            {
            case "1":
                print.RingDesignOptions();

                string     option       = ChooseOption();
                BuildQuery selectedRock = new BuildQuery();
                selectedRock.getRockInfo(int.Parse(type));
                break;

            case "2":
                print.NecklaceDesignOptions();
                break;

            default:
                print.InvalidOptionError();
                break;
            }
        }