Пример #1
0
        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();
        }