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