diff --git a/notus/Notus_Console/Program.cs b/notus/Notus_Console/Program.cs index 9414c98..55bd6d5 100644 --- a/notus/Notus_Console/Program.cs +++ b/notus/Notus_Console/Program.cs @@ -107,8 +107,8 @@ while (boucle == 0){ Console.WriteLine("Chercher utilisateur"); Name = Console.ReadLine(); u = db.GetUtilisateur(Name); - db.TrouverMail(u.Mail); - db.CorrespondPassword(u.Password); + db.TrouverMail(u.Mail.get); + db.CorrespondPassword(u.Password.get); if (db.ListUtilisateur.Contains(u)) { db.SuppUtilisateur(u); @@ -127,7 +127,7 @@ while (boucle == 0){ nom = Console.ReadLine(); Console.WriteLine("Choisissez un logo"); logoPath = Console.ReadLine(); - Note n = new Note(nom,logoPath,u); + n = new Note(nom,logoPath,u); u.AddNote(nom,logoPath); break; @@ -177,7 +177,7 @@ while (boucle == 0){ break; case "13":///Supprimer un tag definitivement - Tags t= u.RechercherTags(name); + t= u.RechercherTags(name); u.SupTagToNoteList(note); break;