Exemplo n.º 1
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);
            }
        }
Exemplo n.º 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;              
     }
 }