private void ImportContacts(object sender) { var contactsImported = importService.ImportContacts(); if (!contactsImported.Any()) { return; } foreach (var contact in contactsImported) { Contacts.Add(contact); } }