diff --git a/Sources/Modele/Manager.cs b/Sources/Modele/Manager.cs index da90dc7..3005964 100644 --- a/Sources/Modele/Manager.cs +++ b/Sources/Modele/Manager.cs @@ -94,19 +94,7 @@ namespace Model private IList listeDesBanques = new List(); //private IList listeDesBanques = new List(); - /*public ReadOnlyCollection AllBanque - { - get => allBanque; - set - { - if (allBanque != value) - { - allBanque = value; - OnPropertyChanged(nameof(AllBanque)); - } - } - } - private ReadOnlyCollection allBanque;*/ + public ReadOnlyCollection AllBanque { get; private set; } public List ListeDesComptes { @@ -122,13 +110,13 @@ namespace Model } private List listeDesComptes = new List(); - //public ReadOnlyCollection AllCompte { get; private set; } + public ReadOnlyCollection AllCompte { get; private set; } public Manager(IPersistanceManager persistance) { - //AllBanque = new ReadOnlyCollection(listeDesBanques); - //AllCompte = new ReadOnlyCollection(listeDesComptes); + AllBanque = new ReadOnlyCollection(ListeDesBanques); + AllCompte = new ReadOnlyCollection(ListeDesComptes); Pers = persistance; }