Пример #1
0
 public static void DeleteAdresse(Adresse adresse)
 {
     using (var db = new MineBricksContext())
     {
         db.Remove(adresse);
         db.SaveChanges();
     }
 }
Пример #2
0
 public static void DeletePersonne(Personne p)
 {
     using (var db = new MineBricksContext())
     {
         db.Remove(p);
         db.SaveChanges();
     }
 }
Пример #3
0
 public static void DeleteTypeConges(TypeConges typeConges)
 {
     using (var db = new MineBricksContext())
     {
         db.Remove(typeConges);
         db.SaveChanges();
     }
 }