public void Update(Dossier dossier) { using (_db = new CabinetAvocatEntities()) { _db.Entry(dossier).State = System.Data.Entity.EntityState.Modified; _db.SaveChanges(); } }
public void Update(Adherent adherant) { using (_db = new CabinetAvocatEntities()) { _db.Entry(adherant).State = System.Data.Entity.EntityState.Modified; _db.SaveChanges(); } }
public void Add(Dossier dossier) { using (_db = new CabinetAvocatEntities()) { _db.Dossier.Add(dossier); _db.SaveChanges(); } }
public void Add(Adherent adherent) { using (_db = new CabinetAvocatEntities()) { _db.Adherent.Add(adherent); _db.SaveChanges(); } }
public void Update(Compte compte) { using (_db = new CabinetAvocatEntities()) { _db.Entry(compte).State = System.Data.Entity.EntityState.Modified; _db.SaveChanges(); } }
public void AddCompte(Compte compte) { using (_db = new CabinetAvocatEntities()) { _db.Compte.Add(compte); _db.SaveChanges(); } }
public void Update(RendezVous rendezVous) { using (_db = new CabinetAvocatEntities()) { _db.Entry(rendezVous).State = System.Data.Entity.EntityState.Modified; _db.SaveChanges(); } }
public void Add(RendezVous rendezVous) { using (_db = new CabinetAvocatEntities()) { _db.RendezVous.Add(rendezVous); _db.SaveChanges(); } }