public static void addMemberJustForExternalUsage(Member m, Password.Password pass) { try { AddMember(m); pass.memberId = m.id; pHandler.Add(pass); //members.Add(m.id, m); //mapIDUsermane.Add(m.username, m.id); } catch (WorkShopDbException dbExc) { throw dbExc; } catch (Exception ignore) { throw new Exception("this should not happen, member couldn't be added"); } }