Example #1
0
        static void UpdateCivilite(int id, string libelleCourt, string libelleLong)
        {
            Civilite civilite = new Civilite()
            {
                Id = id, LibelleCourt = libelleCourt, LibelleLong = libelleLong
            };

            civiliteRepository.UpdateCivilite(civilite);
        }
Example #2
0
        static void InsertCivilite(string libelleCourt, string libelleLong)
        {
            Civilite civilite = new Civilite()
            {
                LibelleCourt = libelleCourt, LibelleLong = libelleLong
            };

            civiliteRepository.SaveCivilite(civilite);
        }