public MarksController(DB_LAB2Context context) { teacherDAO = new TeacherDAO(DBConnection.getInstance()); subjectDAO = new SubjectDAO(DBConnection.getInstance()); studentDAO = new StudentDAO(DBConnection.getInstance()); markDAO = new MarkDAO(DBConnection.getInstance()); }
public StudentsController(DB_LAB2Context context) { studentDAO = new StudentDAO(DBConnection.getInstance()); groupDAO = new GroupDAO(DBConnection.getInstance()); }