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

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

            civiliteRepository.SaveCivilite(civilite);
        }