public IHttpActionResult GetGroupMembers(Guid groupId) { if (groupId == Guid.Empty) { throw new ArgumentException("groupId must be defined."); } ICollection <UserListItem> groupMembers = mapperFactory.CreateUserListItemMapper().Map(identityManagementService.GetGroupMembers(groupId)); return(Ok(groupMembers)); }