Exemple #1
0
 public ActionResult DeleteEtablissement(ClasseModels model)
 {
     using (ClasseRepository repository = new ClasseRepository())
     {
         repository.DeleteById(model.id);
         repository.Save();
     }
     return(View("Index"));
 }