Exemple #1
0
 public void GetList4Leads(long userID, out long CampaingID)
 {
     try
     {
         DataSet ds = new PredictiveDialler.DataAccess.ClsUserDataService().GetLeadsList(userID, out CampaingID);
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "GetList4Leads()", "ClsLead.cs");
         CampaingID = 0;
     }
 }
Exemple #2
0
        public static ClsLead GetByGroupID(int ID)
        {
            try
            {
                ClsLead obj = new ClsLead();
                DataSet ds  = new PredictiveDialler.DataAccess.ClsUserDataService().User_GetByID(ID);

                if (!obj.MapData(ds.Tables[0]))
                {
                    obj = null;
                }
                return(obj);
            }
            catch (Exception ex)
            {
                VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "GetByGroupID()", "ClsLead.cs");
                return(null);
            }
        }
Exemple #3
0
        public void GetList4Leads(long userID,out long CampaingID)
        {
            try
            {
            DataSet ds = new PredictiveDialler.DataAccess.ClsUserDataService().GetLeadsList(userID, out CampaingID);
            }
            catch (Exception ex)
            {
                VMuktiHelper.ExceptionHandler(ex, "GetList4Leads()", "ClsLead.cs");
                CampaingID = 0;
            }

        }
Exemple #4
0
 public static ClsLead GetByGroupID(int ID)
 {
     try
     {
     ClsLead obj = new ClsLead();
     DataSet ds = new PredictiveDialler.DataAccess.ClsUserDataService().User_GetByID(ID);
     
     if (!obj.MapData(ds.Tables[0])) obj = null;
     return obj;
     }
     catch (Exception ex)
     {
         VMuktiAPI.VMuktiHelper.ExceptionHandler(ex, "GetByGroupID()", "ClsLead.cs");
         return null;              
     }
 }