public bool TransferLead(string id, ZohoLead lead) { if (lead == null) { throw new ArgumentNullException("lead"); } lead.Owner = RequireById(id).Email; return(Client.UpdateRecord(lead)); }
public ZohoInsertResponse AddLead(string id, ZohoLead lead) { if (lead == null) { throw new ArgumentNullException("lead"); } lead.Owner = RequireById(id).Email; return(Client.InsertRecord(lead)); }