1

add new Controller to redirect

This commit is contained in:
killerber4t
2020-03-12 16:48:08 +01:00
parent c8f24f834d
commit 430b52b417
4 changed files with 16 additions and 2 deletions

View File

@ -19,6 +19,8 @@ public class UserService {
this.groupService = groupService;
}
//Test nötig??
public List<Group> getUserGroups(String user_id) throws EventException {
List<Long> group_ids = eventRepository.findGroup_idsWhereUser_id(user_id);
List<Event> events = groupService.getGroupEvents(group_ids);