private void btnSubmit_Click(object sender, EventArgs e)
        {
            IGestionEmployes
            gestionEmployes = GestionEmployesBuilderClassFactory.getInterface();

            Role role = new Role(0, textBoxCodeRole.Text, textBoxDescriptionRole.Text);

            gestionEmployes.createRole(role);

            this.Close();
        }
        private void btnSubmit_Click(object sender, EventArgs e)
        {
            IGestionEmployes
            gestionEmployes = GestionEmployesBuilderClassFactory.getInterface();

            int IdRole = Convert.ToInt32(textBoxIdRole.Text);
            string CodeRole = textBoxCodeRole.Text;
            string DescriptionRole = textBoxDescriptionRole.Text;
            Role role = new Role(IdRole, CodeRole, DescriptionRole);

            gestionEmployes.updateRole(role);

            this.Close();
        }