|
|
@ -90,7 +90,7 @@ namespace Biblioteque_de_Class
|
|
|
|
NoteList.Remove(note);
|
|
|
|
NoteList.Remove(note);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/*public void AjouterTag(List<Tags> listNote, string name) {
|
|
|
|
public void createTag(List<Tags> listNote, string name) {
|
|
|
|
foreach(Tags tag in listNote)
|
|
|
|
foreach(Tags tag in listNote)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if(tag.Nom == name)
|
|
|
|
if(tag.Nom == name)
|
|
|
@ -101,7 +101,7 @@ namespace Biblioteque_de_Class
|
|
|
|
throw new Exception("no tag find with this name");
|
|
|
|
throw new Exception("no tag find with this name");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void SupTag(string name)
|
|
|
|
public void deleteTag(string name)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
foreach(Tags tag in atributionTag)
|
|
|
|
foreach(Tags tag in atributionTag)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -111,8 +111,6 @@ namespace Biblioteque_de_Class
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
throw new Exception("no tag find with this name");
|
|
|
|
throw new Exception("no tag find with this name");
|
|
|
|
}*/
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// Je laisse en attendant, sur l'uml c'est dans utilisateur mais y a les methodes dans note
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|