public void removUser(IUser user) { if (this.Users != null && this.Users.Contains(user)) { this.Users.Remove(user); } }
public void addUser(IUser user) { if (this.Users == null) { this.Users = new List<IUser>(); } this.Users.Add(user); }