Example #1
0
 public static ClsCallingList GetByCallingListID(int ID)
 {
     try
     {
         ClsCallingList obj = new ClsCallingList();
         DataSet        ds  = new CallingList.DataAccess.ClsCallingListDataService().CallingList_GetByID(ID);
         if (!obj.MapData(ds))
         {
             obj = null;
         }
         return(obj);
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "GetByCallingListID", "ClsCalllingList.cs");
         return(null);
     }
 }
 public static ClsCallingList GetByCallingListID(int ID)
 {
     try
     {
         ClsCallingList obj = new ClsCallingList();
         DataSet ds = new CallingList.DataAccess.ClsCallingListDataService().CallingList_GetByID(ID);
         if (!obj.MapData(ds)) obj = null;
         return obj;
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "GetByCallingListID", "ClsCalllingList.cs"); 
         return null;
     }
 }