public int addMember(string username, string password) { Member member = ConnectionStubTemp.registerNewUser(username, password, DateTime.Today.AddYears(1), ""); if (member == null) { return(-1); } return(member.id); //return ConnectionStubTemp.memberIDGenerator - 1; }