Beispiel #1
0
        public ICollection <UserGroupDto> FindAllGroups()
        {
            ICollection <UserGroup>    groups    = GroupDao.GetAllElements();
            ICollection <UserGroupDto> groupsDto = new List <UserGroupDto>();

            foreach (UserGroup group in groups)
            {
                groupsDto.Add(new UserGroupDto(group));
            }
            return(groupsDto);
        }