1

change GroupService

This commit is contained in:
tomvahl
2020-03-10 14:37:11 +01:00
parent 3c410b2de4
commit 3113483b31
2 changed files with 2 additions and 15 deletions

View File

@ -31,17 +31,4 @@ public class GroupService {
return newGroup;
}
public Group buildGroupFromEvent(CreateGroupEvent createGroupEvent, AddUserEvent addUserEvent) {
Group newGroup = new Group();
try {
newGroup.applyEvent(createGroupEvent);
newGroup.applyEvent(addUserEvent);
} catch (EventException e) {
e.printStackTrace();
}
return newGroup;
}
}