package DAO;

import model.Advice;

import java.sql.SQLException;
import java.util.List;

public interface AdviceDAO {

        void save(Advice advice) throws SQLException;

        void update(Advice advice) throws SQLException;

        void delete(int studentId, int professorId) throws SQLException;

        Advice getById(int studentId, int professorId) throws SQLException;

        List<Advice> getAll() throws SQLException;

}
