Example #1
0
        public void adjustVak(Vak vak, int id)
        {
            VakMapper mapper = new VakMapper(_connectionString);

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

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

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

            return(mapper.getVakFromDB());
        }