Example #1
0
 public List<Group> getAllGroups() {
   return groupRepository.getAll();
 }
Example #2
0
 public Group getGroupById(String id) {
   return groupRepository.findByGroupId(id);
 }
Example #3
0
 public void addGroup(String name, List<User> users) {
   groupRepository.insert(new Group(name, users));
 }