diff --git a/Sources/Modèle/User.cs b/Sources/Modèle/User.cs index 38ab17a..c92015c 100644 --- a/Sources/Modèle/User.cs +++ b/Sources/Modèle/User.cs @@ -106,14 +106,16 @@ namespace Model monstresDejaVu = monstresVus; } - /*public User() + /* + public User() { Pseudo = null; Nom = null; Prenom = null; Mdp = null; monstresDejaVu = null; - }*/ + } + */ public bool verifyPssw(string pssw) { diff --git a/Sources/Vues/Inscription.xaml.cs b/Sources/Vues/Inscription.xaml.cs index 22153e5..62a35d9 100644 --- a/Sources/Vues/Inscription.xaml.cs +++ b/Sources/Vues/Inscription.xaml.cs @@ -6,8 +6,8 @@ public partial class Inscription : ContentPage { List users = new List(); UserManager userMngr = new UserManager(new LoaderXml()); - public User user { get; set; } = new User(); - public Inscription() + //public User user { get; set; } = new User(); + /*public Inscription() { InitializeComponent(); BindingContext=user; @@ -19,5 +19,5 @@ public partial class Inscription : ContentPage userMngr.saveUsers(users); } - + */ } \ No newline at end of file