예제 #1
0
        public void addCadeausToDB(Cadeau item)
        {
            CadeauMapper mapper = new CadeauMapper(_connectionstring);

            mapper.addCadeausToDB(item);
        }
예제 #2
0
        public void removeCadeau(int id)
        {
            CadeauMapper mapper = new CadeauMapper(_connectionstring);

            mapper.deleteCadeauInDB(id);
        }
예제 #3
0
        public List <Cadeau> getCadeausFromDB()
        {
            CadeauMapper mapper = new CadeauMapper(_connectionstring);

            return(mapper.getCadeausFromDB());
        }