add search fonction to favoris and search fonction moved from note to user

vSonar_test
Matheo THIERRY 2 years ago
parent 312c1f3f3b
commit a69e678340

@ -47,7 +47,7 @@ namespace Biblioteque_de_Class
throw new Exception("no tag find with this name");
}
public void SupTag(string name){
public void EnleverTag(string name){
foreach(Tags tag in atributionTag){
if(tag.Nom == name) { atributionTag.Remove(tag); }
}

@ -90,7 +90,7 @@ namespace Biblioteque_de_Class
NoteList.Remove(note);
}
/*public void AjouterTag(List<Tags> listNote, string name) {
public void createTag(List<Tags> listNote, string name) {
foreach(Tags tag in listNote)
{
if(tag.Nom == name)
@ -101,7 +101,7 @@ namespace Biblioteque_de_Class
throw new Exception("no tag find with this name");
}
public void SupTag(string name)
public void deleteTag(string name)
{
foreach(Tags tag in atributionTag)
{
@ -111,8 +111,6 @@ namespace Biblioteque_de_Class
}
}
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
}
}
}
Loading…
Cancel
Save