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); }
public List <Lijst> getLijstFromGebruiker(int Gebruiker) { return(LijstRepository.getLijstFromGebruiker(_activeGebruiker.ID)); }
public void addWishlistsToDB(Lijst item) { _persistController.addWishlistsToDB(item); LijstRepository.addLijst(item); }
public Lijst getLijst(string Code) { return(LijstRepository.getLijst(Code)); }