示例#1
0
文件: User.cs 项目: xsysfan/Routines
        public IReadOnlyCollection <Group> GetGroups()
        {
            IReadOnlyCollection <Group> @value = null;

            if (UserGroupMap != null)
            {
                @value = UserGroupMap.Select(e => e.Group).ToList();
            }
            return(@value);
        }
示例#2
0
文件: Group.cs 项目: xsysfan/Routines
        public IReadOnlyCollection <User> GetUsers()
        {
            IReadOnlyCollection <User> @value = null;

            if (UserGroupMap != null)
            {
                @value = UserGroupMap.Select(e => e.User).ToList();
            }
            return(@value);
        }