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