/// <summary> /// Récupérer un Formation en base /// </summary> /// <param name="formationId">Id de l'Formation</param> /// <returns>Experience</returns> public Formation GetFormation(int formationId) { FormationQuery fq = new FormationQuery(_context); return(fq.GetById(formationId)); }
/// <summary> /// Récupérer une liste de Formations en base /// </summary> /// <returns>Formations List</returns> public List <Formation> GetAllFormations() { FormationQuery fq = new FormationQuery(_context); return(fq.GetAll().ToList()); }