/// <summary> /// Ajouter une note en base /// </summary> /// <param name="n">Note à ajouter</param> /// <returns>identifiant de la nouvelle note</returns> public int AjouterNote(Note n) { // TODO : ajouter des contrôles sur la note (exemple : vérification de champ, etc.) NoteCommand nc = new NoteCommand(contexte); return(nc.Ajouter(n)); }
public int AddNote(Note note) { NoteCommand nc = new NoteCommand(contexte); return(nc.Ajouter(note)); }
public int AjouterNote(Note n) { NoteCommand nc = new NoteCommand(context); return(nc.Ajouter(n)); }