private static async Task UpdateContact(Dinero dinero, Contact contact) { var model = new ContactUpdate() { ExternalReference = contact.ExternalReference +"TestRef updated", Name = contact.Name +" Updated", CountryKey = "SE" }; await dinero.Contacts.UpdateAsync(contact.ContactGuid, model); Console.WriteLine("Contact updated."); }
private static string ContactToPrintableString(Contact contact) { return string.Format("{0} - {1} - {2}", contact.Name, contact.CountryKey, contact.ExternalReference ?? ""); }