Exemple #1
0
        public static void Menu()
        {
            Console.Clear();
            Console.WriteLine("Profile - 1 \tManage - 2 \nLog out - 0");
            Int32.TryParse(Console.ReadLine(), out int key);
            switch (key)
            {
            case 1:
                ProfilePage();
                break;

            case 2:
                provider.Manage();
                break;

            case 0:
                Console.Clear();
                isLogged = false;
                break;

            default:
                break;
            }
        }