コード例 #1
0
        protected static void userLogin() //method for exisiting users to log in
        {
            do
            {
                Console.WriteLine("Please enter your Username: "******"Please enter your Password: ");
                string       password    = Console.ReadLine();
                Patient_User currentUser = Patient_User.loginCheck(new List <string>()
                {
                    username, password
                });

                if (currentUser != null)
                {
                    userMenu(currentUser);
                }
            } while (!constantMenu);
        }