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