Esempio n. 1
0
        public static void UpdateQueryStatus(Campaign objCampaign, long QueryID, bool isActive, bool isStandby)
        {
            XmlDocument xDocCampaign = new XmlDocument();

            xDocCampaign.LoadXml(Serialize.SerializeObject(objCampaign, "Campaign"));
            CampaignService objCampService = new CampaignService();

            try
            {
                objCampService.CampaignQueryStatusUpdateDialer(xDocCampaign, QueryID, isActive, isStandby);
            }
            catch (Exception ex)
            {
                DialerEngine.Log.WriteException(ex, "Error in UpdateQueryStatus");
            }
            finally
            {
                objCampService = null;
                xDocCampaign   = null;
            }
        }