public int LoginValidation(string username, string password) { User user = new User() { username = username, password = password }; return(loginDataAccess.UserLoginValidation(user)); }