/// <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); }
public ActionResult <int> Login(UserBasics logInUser) { return(_userBiz.userExists(logInUser.userName, logInUser.password)); }