diff --git a/Code/Model/Banque.cs b/Code/Model/Banque.cs index 952653c..8db7d2a 100644 --- a/Code/Model/Banque.cs +++ b/Code/Model/Banque.cs @@ -20,12 +20,12 @@ namespace Model UrlLogo = urlLogo; } - private AjouterCompte(Compte compte) + private void AjouterCompte(Compte compte) { ListeDesComptes.Add(compte); } - private SupprimerCompte(Compte compte) + private void SupprimerCompte(Compte compte) { ListeDesComptes.Remove(compte); } diff --git a/Code/Model/Devises.cs b/Code/Model/Devises.cs index 537e910..aff53dd 100644 --- a/Code/Model/Devises.cs +++ b/Code/Model/Devises.cs @@ -6,7 +6,7 @@ using System.Threading.Tasks; namespace Model { - internal enum Devises + public enum Devises { Livre_sterling, Rouble, diff --git a/Code/Model/Manager.cs b/Code/Model/Manager.cs index 5f35a8c..17eaff0 100644 --- a/Code/Model/Manager.cs +++ b/Code/Model/Manager.cs @@ -10,10 +10,10 @@ namespace Model { public class Manager : INotifyPropertyChanged { - public IReadOnlyCollection ListedesInscrits { get; private set }; - private List TouslesInscrits { get; set } = new List; + public IReadOnlyCollection ListedesInscrits { get; private set; } + private List TouslesInscrits { get; set; } = new List(); - public event PropertyChangedEventHandler PropertyChanged; + public event PropertyChangedEventHandler? PropertyChanged; void OnPropertyChanged(string propertyName) => PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName));