public void AddUser(UserData _userData) { DataBaseAccess dataBase = new DataBaseAccess(); dataBase.StartConnection(); dataBase.AddUser(_userData._password, _userData.emailAddress, _userData.userName, UserType.Developer, _userData.fullName); dataBase.CloseConnection(); }