예제 #1
0
 @Override
 public Set<Group> getAllGroups() {
   List<Group> allGroups = groupRepository.findAllGroups();
   Set<Group> setList = new HashSet<>(allGroups);
   return setList;
 }
예제 #2
0
 @Override
 public Group getGroupById(long id) {
   return groupRepository.findGroupById(id);
 }