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); } }
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; } }