public virtual void UpdatePersons(Person[] persons, Person[] deletedPersons) { if (persons == null || persons.Length == 0) { return; } if (ContactGroup == null) { AddContactGroup(); foreach (var person in persons) { ContactGroup.AddPerson(person.Name); } return; } ContactGroup.UpdatePersons(persons, deletedPersons); }