public IReadOnlyCollection <Role> GetRoles() { IReadOnlyCollection <Role> @value = null; if (UserRoleMap != null) { @value = UserRoleMap.Select(e => e.Role).ToList(); } return(@value); }
public IReadOnlyCollection <User> GetUsers() { IReadOnlyCollection <User> @value = null; if (UserRoleMap != null) { @value = UserRoleMap.Select(e => e.User).ToList(); } return(@value); }