Ejemplo n.º 1
0
 public static ClsGroup GetByGroupID(int ID)
 {
     try
     {
         ClsGroup obj = new ClsGroup();
         DataSet  ds  = new Group.DataAccess.ClsGroupDataService().Group_GetByID(ID);
         if (!obj.MapData(ds))
         {
             obj = null;
         }
         return(obj);
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "GetByGroupID", "ClsGroup.cs");
         return(null);
     }
 }
Ejemplo n.º 2
0
 public static ClsGroup GetByGroupID(int ID)
 {
     try
     {
         ClsGroup obj = new ClsGroup();
         DataSet ds = new Group.DataAccess.ClsGroupDataService().Group_GetByID(ID);
         if (!obj.MapData(ds)) obj = null;
         return obj;
     }
     catch (Exception ex)
     {
         VMuktiHelper.ExceptionHandler(ex, "GetByGroupID", "ClsGroup.cs"); 
         return null;
     }
 }