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