Exemplo n.º 1
0
 private List<Solution> getSolutionsOfUser(Challenge challenge) {
   User currentUser = authenticationService.getCurrentUser();
   return solutionDao.findSolutionsBy(challenge, currentUser);
 }
Exemplo n.º 2
0
 public Set<Challenge> getSolvedChallengesOfCurrentUser() {
   return getSolvedChallengesOf(authenticationService.getCurrentUser());
 }