Added tests and service
This commit is contained in:
@ -52,7 +52,6 @@ public class GroupService {
|
||||
}
|
||||
|
||||
public int getAssignedAmount(Long groupId) {
|
||||
this.repo.getAssignedAmount(groupId);
|
||||
return 0;
|
||||
return this.repo.getAssignedAmount(groupId).orElse(Integer.valueOf(0)).intValue();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user