public async Task GetAddressBook() { ApiResponse response = await AddressBookApi.GetAddressBook(); Assert.IsFalse(response.HasError); List <AddressBookInfo> result = response.GetResult <List <AddressBookInfo> >(); Assert.IsNotNull(result); }
public Result <List <AddressBookInfo> > GetAddressBook() { ApiResponse response = AddressBookApi.GetAddressBook().Result; return(GetResult <List <AddressBookInfo> >(response)); }