Esempio n. 1
0
        private static void Register()
        {
            Console.Write("\nFirst Name: ");
            string firstName = Console.ReadLine();

            Console.Write("Last Name: ");
            string lastName = Console.ReadLine();

            Console.Write("Email: ");
            string email = Console.ReadLine();

            Console.Write("Password: "******"Registration Successful! Please login to continue", ConsoleColor.Green);
        }
Esempio n. 2
0
        private static void Login()
        {
            Console.Write("Email: ");
            string email = Console.ReadLine();

            Console.Write("Password: ");
            string password = PasswordMask.HideCharacter();

            loggedInUser = Repo.Login(email, password);
        }