예제 #1
0
        public bool TransferLead(string id, ZohoLead lead)
        {
            if (lead == null)
            {
                throw new ArgumentNullException("lead");
            }

            lead.Owner = RequireById(id).Email;
            return(Client.UpdateRecord(lead));
        }
예제 #2
0
        public ZohoInsertResponse AddLead(string id, ZohoLead lead)
        {
            if (lead == null)
            {
                throw new ArgumentNullException("lead");
            }

            lead.Owner = RequireById(id).Email;
            return(Client.InsertRecord(lead));
        }