public void AccessUpdateCampignQueue(CampaignQueue objCampaignQueue1)
 {
     objDL_CampaignQueue.CampaignQueueUpdate(objCampaignQueue1);
 }
        private string CampaignQueueInsert(bool status, int contactid)
        {
            objCampaignQueue = new CampaignQueue();
            objBL_CampaignQueue = new BL_CampaignQueue();
            objCampaignQueue.FK_CampaignID = Convert.ToInt32(Session["CampgnID"].ToString());

            if (status == true)
                objCampaignQueue.SentOn = DateTime.Now;

            objCampaignQueue.IsMailSent = status;
            objCampaignQueue.CreatedBy = Convert.ToInt32(Session["UserID"].ToString());
            objCampaignQueue.CreatedOn = DateTime.Now;

            if (contactid != 0)
                objCampaignQueue.FK_ContactID = contactid;

            string pkcqid = objBL_CampaignQueue.AccessInsertCampignQueue(objCampaignQueue);
            objCampaignQueue = null;
            objBL_CampaignQueue = null;
            return pkcqid;
        }
 public string AccessInsertCampignQueue(CampaignQueue objCampaignQueue1)
 {
     string pkid = objDL_CampaignQueue.CampaignQueueInsert(objCampaignQueue1);
     return pkid;
 }