public ListeAbsModel(miniProjet1DbContext db) { _db = db; SL = _db.Seances.Include(n => n.matiere).ToList(); EL = _db.Etudiants.ToList(); PL = _db.Presences.Include(n => n.seance).Include(n => n.etudiant).ToList(); }
public TauxAbsEModel(miniProjet1DbContext db) { _db = db; SL = _db.Seances.Include(n => n.matiere).ToList(); EL = _db.Etudiants.Include(n => n.filiere).ToList(); FL = _db.Filieres.ToList(); PL = _db.Presences.Include(n => n.seance).Include(n => n.etudiant).ToList(); Fid = _db.Filieres.FirstOrDefault().id_fil; Eid = _db.Etudiants.Where(n => n.filiereID == Fid).FirstOrDefault().id_etu; }
public EditFModel(miniProjet1DbContext db) { _db = db; }
public DeleteMModel(miniProjet1DbContext db) { _db = db; }
public EditMModel(miniProjet1DbContext db) { _db = db; FL = _db.Filieres.ToList(); PL = _db.Professeurs.ToList(); }
public PointageModel(miniProjet1DbContext db) { _db = db; SL = _db.Seances.ToList(); }
public IndexEModel(miniProjet1DbContext db) { _db = db; FL = _db.Filieres.ToList(); }
public IndexFModel(miniProjet1DbContext db) { _db = db; }
public AjoutSModel(miniProjet1DbContext db) { _db = db; ML = _db.Matieres.ToList(); }
public AjoutPModel(miniProjet1DbContext db) { _db = db; }
public EditPrModel(miniProjet1DbContext db) { _db = db; SL = _db.Seances.ToList(); }
public ListePrModel(miniProjet1DbContext db) { _db = db; SL = _db.Seances.Include(n => n.matiere).ToList(); EL = _db.Etudiants.ToList(); }