示例#1
0
        public void Update(TEmploye TEmploye, string user = "")
        {
            _temployeRepository.Update(TEmploye);

            _applicationTraceService.create(new ApplicationTrace
            {
                utilisateur = user,
                action      = Parametres.Action.Modification.ToString(),
                description = String.Format("Mise à jour d'un type d'employé temploye_id = {0}", TEmploye.id),
            });
        }
示例#2
0
        public void Create(TEmploye TEmploye, string user = "")
        {
            _temployeRepository.Insert(TEmploye);

            _applicationTraceService.create(new ApplicationTrace
            {
                utilisateur = user,
                action      = Parametres.Action.Creation.ToString(),
                description = "Création d'un type d'employé",
            });
        }