public void Delete(int id, string user = "") { _personneRepository.Delete(x => x.id == id); _applicationTraceService.create(new ApplicationTrace { utilisateur = user, action = Parametres.Action.Suppression.ToString(), description = String.Format("Supression de la personne personne_id = {0}", id), }); }