public ActionResult DeleteResultat(ResultatModels model)
 {
     using (ResultatRepository repository = new ResultatRepository())
     {
         repository.DeleteById(model.id);
         repository.Save();
     }
     return(View("Index"));
 }