public IActionResult Login(User1 authenticate) { Console.WriteLine("this is from the login method" + authenticate.Username); User1 foundUser = User1.GetUser(authenticate); return(RedirectToAction("Index", foundUser)); }
public IActionResult Login(User1 authenticate) { Console.WriteLine("this is from the login method" + authenticate.Username); User1 foundUser = User1.GetUser(authenticate); return(RedirectToAction("Index", foundUser)); }