public List <GroupDTO> GetGroupsForAuthenticatedUser(string token, int[] groupTypeIds) { var groups = _mpGroupRepository.GetMyGroupParticipationByType(token, groupTypeIds, null); if (groups == null) { return(null); } return(GetAttributesAndParticipants(token, groups)); }