async Task ExecuteLoadContactsCommand() { if (await _contactsStore.Initialize()) { ReadMessagesCommand.Execute(null); } if (IsBusy) { return; } IsBusy = true; try { var contacts = await _contactsStore.GetContacts(); ReloadContacts(contacts); } catch (Exception ex) { Debug.WriteLine(ex); } finally { IsBusy = false; } }
public IEnumerable <Contact> Contacts() { return(_contactsStore.GetContacts()); }