Example #1
0
        /// <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));
        }
Example #2
0
        public int AddNote(Note note)
        {
            NoteCommand nc = new NoteCommand(contexte);

            return(nc.Ajouter(note));
        }
Example #3
0
        public int AjouterNote(Note n)
        {
            NoteCommand nc = new NoteCommand(context);

            return(nc.Ajouter(n));
        }