예제 #1
0
 @Override
 public List<Fixtures> getFixtures() {
   List<Fixtures> fixtures = new ArrayList<>();
   Iterable<Fixtures> fixture = repository.findAll();
   for (Fixtures fixt : fixture) {
     fixtures.add(fixt);
   }
   return fixtures;
 }
예제 #2
0
 @Override
 public Match_Results getResults(Long id) {
   return repository.findOne(id).getResults();
 }