public static void AdjustEmailConsolidation(string local, int olduserid, int oldemailid, int userid, int emailid) { try { var constring = ConfigurationManager.AppSettings["SYNC_CONSOLID_CONNSTRING"]; if (constring != null) { var parms = new Dictionary <string, object>(); parms["olduserid"] = olduserid; parms["oldemailid"] = oldemailid; parms["userid"] = userid; parms["emailid"] = emailid; SqlThread.ThreadProcessSQL(constring, 30, "exec sync.PROC_SYNC_CONSOLIDATION_MNGF_EXECUTE " + olduserid.ToString() + "," + oldemailid.ToString() + "," + userid.ToString() + "," + emailid.ToString(), null, "AdjustEmailConsolidation", local, parms); } } catch (Exception ex) { Log.ApiException(null, "AdjustEmailConsolidation", ex, "local".AndValue(local), "olduserid".AndValue(olduserid), "oldemailid".AndValue(oldemailid), "userid".AndValue(userid), "emailid".AndValue(emailid)); } }