Example #1
0
 public Lijst CreateList(string Naam)
 {
     _activeLijst = new Lijst(Naam, GetCode().ToString(), "Ja", _activeGebruiker.ID);
     _persistController.addWishlistsToDB(_activeLijst);
     LijstRepository.Lijsten = _persistController.getWishlistsFromDB();
     _activeLijst            = LijstRepository.getLastList();
     return(_activeLijst);
 }
Example #2
0
 public List <Lijst> getLijstFromGebruiker(int Gebruiker)
 {
     return(LijstRepository.getLijstFromGebruiker(_activeGebruiker.ID));
 }
Example #3
0
 public void addWishlistsToDB(Lijst item)
 {
     _persistController.addWishlistsToDB(item);
     LijstRepository.addLijst(item);
 }
Example #4
0
 public Lijst getLijst(string Code)
 {
     return(LijstRepository.getLijst(Code));
 }