Esempio n. 1
0
        /// <summary>
        /// login for already-registered users
        /// requires username and password
        /// </summary>
        /// <returns>success/failure</returns>
        public bool login()
        {
            Console.WriteLine("\nEnter your username:"******"Enter your password:"******"\nUser exists but password is incorrect");
            }
            else
            {
                Console.WriteLine("\nUser does not exist");
            }

            return(false);
        }
Esempio n. 2
0
 public ActionResult <int> Login(UserBasics logInUser)
 {
     return(_userBiz.userExists(logInUser.userName, logInUser.password));
 }