diff --git a/Code/Model/Class1.cs b/Code/Model/Class1.cs deleted file mode 100644 index 34183dd..0000000 --- a/Code/Model/Class1.cs +++ /dev/null @@ -1,7 +0,0 @@ -namespace Model -{ - public class Class1 - { - - } -} \ No newline at end of file diff --git a/Code/Model/Compte.cs b/Code/Model/Compte.cs new file mode 100644 index 0000000..2229a29 --- /dev/null +++ b/Code/Model/Compte.cs @@ -0,0 +1,14 @@ +namespace Model +{ + public class Compte + { + public string Nom { get; private set; } + public double Solde { get; private set; } + + public Compte(string nom, double solde) + { + Nom = nom; + Solde = solde; + } + } +} \ No newline at end of file