Exemple #1
0
 private void InsertZohoLead(sh_Zoho_Lead LocalTable)
 {
     try
     {
         objDataContext.sh_Zoho_Leads.InsertOnSubmit(LocalTable);
         objDataContext.SubmitChanges();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #2
0
        public void InsertLead(string userID, string Email_ID, string Contact_No, string Zoho_Lead_ID, string Lead_Source)
        {
            sh_Zoho_Lead ZOHO = new sh_Zoho_Lead();

            ZOHO.User_ID            = new Guid(userID);
            ZOHO.Email_ID           = Email_ID;
            ZOHO.Contact_No         = Contact_No;
            ZOHO.Zoho_Lead_ID       = Zoho_Lead_ID;
            ZOHO.Lead_Source        = Lead_Source;
            ZOHO.RcdCreatedDate     = DateTime.Now;
            ZOHO.RcdLastUpdatedDate = DateTime.Now;

            InsertZohoLead(ZOHO);
        }