backend/buisnesslogic/src/main/java/com/plannaplan/services/LecturerService.java
Filip Izydorczyk 821f1ffa75 Checkpoint
2020-07-28 18:04:38 +02:00

17 lines
413 B
Java

package com.plannaplan.services;
import com.plannaplan.entities.Lecturer;
import com.plannaplan.repositories.LecturerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class LecturerService {
@Autowired
private LecturerRepository repo;
public void save(Lecturer lecturer) {
repo.save(lecturer);
}
}