Checkpoint config

This commit is contained in:
Filip Izydorczyk
2020-08-04 18:15:00 +02:00
parent 4eabc194fc
commit 430e8c9e7d
3 changed files with 14 additions and 5 deletions

View File

@ -11,6 +11,10 @@ public class LecturerService {
@Autowired
private LecturerRepository repo;
public Lecturer getLecturer(String title, String name, String surname) {
return repo.find(title, name, surname);
}
public void save(Lecturer lecturer) {
repo.save(lecturer);
}