Ejemplo n.º 1
0
        public void adjustStudent(Student student, int id)
        {
            StudentMapper mapper = new StudentMapper(_connectionString);

            mapper.AdjustStudentFromDB(student, id);
        }
Ejemplo n.º 2
0
        public void addStudent(Student student)
        {
            StudentMapper mapper = new StudentMapper(_connectionString);

            mapper.addStudentToDB(student);
        }
Ejemplo n.º 3
0
        public void removeStudent(int id)
        {
            StudentMapper mapper = new StudentMapper(_connectionString);

            mapper.removeStudentFromDB(id);
        }
Ejemplo n.º 4
0
        public List <Student> getStudent()
        {
            StudentMapper mapper = new StudentMapper(_connectionString);

            return(mapper.getStudentFromDB());
        }