public List <Vak> GetVakFromStudentFromDB(int idstudent) { VakMapper mapper = new VakMapper(_connectionString); return(mapper.GetVakFromStudentFromDB(idstudent)); }
public void adjustVak(Vak vak, int id) { VakMapper mapper = new VakMapper(_connectionString); mapper.AdjustVakFromDB(vak, id); }
public void addVak(Vak vak) { VakMapper mapper = new VakMapper(_connectionString); mapper.addVakToDB(vak); }
public void removeVak(int id) { VakMapper mapper = new VakMapper(_connectionString); mapper.removeVakFromDB(id); }
public List <Vak> getVak() { VakMapper mapper = new VakMapper(_connectionString); return(mapper.getVakFromDB()); }