package service;

import model.Professor;
import model.Subject;
import java.sql.SQLException;
import java.util.List;

public interface ProfessorSubjectService {

    void assignProfessorToSubject(Long professor_id, Long subject_id) throws SQLException;

    void removeProfessorFromSubject(Long professor_id, Long subject_id) throws SQLException;

    List<Professor> getProfessorsForSubject(Long subject_id) throws SQLException;

    List<Subject> getSubjectsForProfessor(Long professor_id) throws SQLException;
}