public static BizGroupUser LoadByUserIDAndGroupID(long uid, long groupID) { var model = new GroupUserDAL().GetByUserIDAndGroupInfoID(uid, groupID); if (model == null) { return(null); } return(new BizGroupUser(model)); }
public static List <BizGroupUser> LoadByGroupIDList(List <long> groupIDs) { var lstModel = new GroupUserDAL().GetListByGroupInfoIDs(groupIDs); if (lstModel == null) { return(new List <BizGroupUser>()); } return(lstModel.Select(mode => new BizGroupUser(mode)).ToList()); }
public static BizGroupUser LoadByGroupUserID(long infoID) { var model = new GroupUserDAL().GetByGroupUserID(infoID); if (model == null) { return(null); } return(new BizGroupUser(model)); }
public static List <BizGroupUser> LoadGroupUser(long userID) { var lstModel = new GroupUserDAL().GetListByUserID(userID); return(lstModel.Select(mode => new BizGroupUser(mode)).ToList()); }
public static List <BizGroupUser> LoadByGroupID(long groupID) { var lstModel = new GroupUserDAL().GetListByGroupInfoID(groupID); return(lstModel.Select(mode => new BizGroupUser(mode)).ToList()); }