public ActionResult Login() { UserDatabase userDatabase = new UserDatabase(); string username = Request.Form["username"]; Console.Write(username); string password = Request.Form["password"]; if (userDatabase.AthenicateUser(username, password) != null) { return(View("SuperAdminDashboard")); } return(View("Index")); }