private void initializeListe() { this.gestionMagasin = GestionMagasinBuilderFactory.getInterface(); List<Commande> commandes = this.gestionMagasin.getAllCommande(); commandeCollection.Clear(); foreach (Commande commande in commandes) { commandeCollection.Add(commande); } }
private void initializeListe() { this.gestionMagasin = GestionMagasinBuilderFactory.getInterface(); List<Utilisateur> users = this.gestionMagasin.getAllUsers(); userCollection.Clear(); foreach (Utilisateur user in users) { userCollection.Add(user); } }
private void initializeListe() { this.gestionMagasin = GestionMagasinBuilderFactory.getInterface(); List<Produit> produits = this.gestionMagasin.getAllProduit(); produitCollection.Clear(); foreach (Produit produit in produits) { produitCollection.Add(produit); } }