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