Beispiel #1
0
        public IReadOnlyCollection <Group> GetGroups()
        {
            IReadOnlyCollection <Group> @value = null;

            if (UserGroupMap != null)
            {
                @value = UserGroupMap.Select(e => e.Group).ToList();
            }
            return(@value);
        }
Beispiel #2
0
        public IReadOnlyCollection <User> GetUsers()
        {
            IReadOnlyCollection <User> @value = null;

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