예제 #1
0
        public List <Vak> GetVakFromStudentFromDB(int idstudent)
        {
            VakMapper mapper = new VakMapper(_connectionString);

            return(mapper.GetVakFromStudentFromDB(idstudent));
        }
예제 #2
0
        public void adjustVak(Vak vak, int id)
        {
            VakMapper mapper = new VakMapper(_connectionString);

            mapper.AdjustVakFromDB(vak, id);
        }
예제 #3
0
        public void addVak(Vak vak)
        {
            VakMapper mapper = new VakMapper(_connectionString);

            mapper.addVakToDB(vak);
        }
예제 #4
0
        public void removeVak(int id)
        {
            VakMapper mapper = new VakMapper(_connectionString);

            mapper.removeVakFromDB(id);
        }
예제 #5
0
        public List <Vak> getVak()
        {
            VakMapper mapper = new VakMapper(_connectionString);

            return(mapper.getVakFromDB());
        }