////////////READ/////////// public IEnumerable <object> GetCompte() { using (context = new photoboothproject_2020Entities()) { var MonCompte = (from d in context.compte select d).ToList(); return(MonCompte); } }
public IEnumerable <object> GetEvenements() { using (context = new photoboothproject_2020Entities()) { var MesEvenement = (from d in context.evenements select d).ToList(); return(MesEvenement); } }