@@ -0,0 +1,448 @@
+package at.ac.tuwien.inso.service;%0A%0Aimport at.ac.tuwien.inso.entity.Subject;%0Aimport at.ac.tuwien.inso.repository.SubjectRepository;%0Aimport org.springframework.beans.factory.annotation.Autowired;%0Aimport org.springframework.stereotype.Service;%0A%0A@Service%0Apublic class SubjectService %7B%0A%0A    @Autowired%0A    private SubjectRepository subjectRepository;%0A%0A    public Iterable%3CSubject%3E getAllSubjects() %7B%0A        return subjectRepository.findAll();%0A    %7D%0A%7D%0A

create service for subjects