public void SetContacts(DomainContactsRequest contacts) { var query = new Query(_params); foreach (var item in GetNamesAndValuesFromProperties(contacts)) { query.AddParameter(item.Key, item.Value); } XDocument doc = query.Execute("namecheap.domains.setContacts"); }
public void SetContacts(DomainContactsRequest contacts) { var query = new Query(_params); foreach (var item in GetNamesAndValuesFromProperties(contacts)) query.AddParameter(item.Key, item.Value); XDocument doc = query.Execute("namecheap.domains.setContacts"); }