Exemple #1
0
        public List <GroupDTO> GetGroupsForAuthenticatedUser(string token, int[] groupTypeIds)
        {
            var groups = _mpGroupRepository.GetMyGroupParticipationByType(token, groupTypeIds, null);

            if (groups == null)
            {
                return(null);
            }
            return(GetAttributesAndParticipants(token, groups));
        }