diff --git a/Sources/Model/Animal.cs b/Sources/Model/Animal.cs index 6463463..c60dbde 100644 --- a/Sources/Model/Animal.cs +++ b/Sources/Model/Animal.cs @@ -18,7 +18,7 @@ namespace Model public Espece Espece { get; set; } public Race? Race { get; set; } - public Animal(string nom, string dateNaissance = "", string sexe = "", string dateAdpotion = "", float? taille = null, float? poids = null, string alimentation = "", Race? race = null) + public Animal(string nom, string dateNaissance = "Inconnue", string sexe = "Inconnu", string dateAdpotion = "Inconnue", float? taille = null, float? poids = null, string alimentation = "Inconnue", Race? race = null) { Nom = nom; DateNaissance = dateNaissance; diff --git a/Sources/Model/Stub.cs b/Sources/Model/Stub.cs index dfb5cca..8dda9fd 100644 --- a/Sources/Model/Stub.cs +++ b/Sources/Model/Stub.cs @@ -29,6 +29,10 @@ namespace Model listeAnimaux.Add(new("Kiki")); listeAnimaux.Add(new("PouetPouet")); + listeAnimaux.Add(new("Chouchou")); + listeAnimaux.Add(new("Pupuce")); + listeAnimaux.Add(new("AucuneIdée")); + listeAnimaux.Add(new("Minou")); return listeAnimaux; } diff --git a/Sources/Views/Animaux.xaml b/Sources/Views/Animaux.xaml index e87dff2..e09adeb 100644 --- a/Sources/Views/Animaux.xaml +++ b/Sources/Views/Animaux.xaml @@ -1,51 +1,58 @@ - - - - - - - - - - - - - - - - - - - - - -