/// <summary> /// Retourne toutes les notes /// </summary> /// <returns>Liste d'entités <see cref="Note"/></returns> public List <Note> GetAllNotes() { NoteQuery query = new NoteQuery(monContexte); List <Note> result = query.GetAll(); return(result); }
/// <summary> /// Récupérer une liste de note en base /// </summary> /// <returns>Liste de Note</returns> public List <Note> GetAllNote() { NoteQuery nq = new NoteQuery(contexte); return(nq.GetAll().ToList()); }
public List <Note> GetNotesByEleve(int eleveId) { NoteQuery query = new NoteQuery(_monContexte); return(query.GetAll().ToList()); }