コード例 #1
0
        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());
        }
コード例 #2
0
        public static List <BizGroupUser> LoadGroupUser(long userID)
        {
            var lstModel = new GroupUserDAL().GetListByUserID(userID);

            return(lstModel.Select(mode => new BizGroupUser(mode)).ToList());
        }
コード例 #3
0
        public static List <BizGroupUser> LoadByGroupID(long groupID)
        {
            var lstModel = new GroupUserDAL().GetListByGroupInfoID(groupID);

            return(lstModel.Select(mode => new BizGroupUser(mode)).ToList());
        }