コード例 #1
0
        static void Main(string[] args)
        {
            AppMenu menu = new AppMenu();

            while (true)
            {
                menu.writeMenu();
                var userInput = Console.ReadLine();

                switch (userInput.ToLower())
                {
                case "0":
                    return;

                case "1":
                    SetCors();
                    break;

                case "2":
                    MoveAssets();
                    break;

                case "3":
                    DeleteAssets();
                    break;

                case "4":
                    CopyProductTemplateFromProduction();
                    break;

                default:
                    break;
                }
            }
        }