public void adjustStudent(Student student) { StudentMapper mapper = new StudentMapper(_connectionString); mapper.AdjustStudentFromDB(student); }
public void addStudent(Student student) { StudentMapper mapper = new StudentMapper(_connectionString); mapper.addStudentToDB(student); }
public void removeStudent(int id) { StudentMapper mapper = new StudentMapper(_connectionString); mapper.removeStudentFromDB(id); }
public List <Student> getStudent() { StudentMapper mapper = new StudentMapper(_connectionString); return(mapper.getStudentFromDB()); }