Esempio n. 1
0
        public override void ModificarRegistro()
        {
            try
            {
                _agenteServicio.Modificar(base._entidadId.Value,
                                          this.txtLegajo.Text,
                                          this.txtApellido.Text,
                                          this.txtNombre.Text,
                                          this.txtNroDocumento.Text,
                                          this.txtTelefono.Text,
                                          this.txtCelular.Text,
                                          this.txtMail.Text,
                                          this.chkVisualizar.Checked);

                RealizoAlgunaOperacion = true;
                this.Close();
            }
            catch (Exception)
            {
                Mensaje.Mostrar("Ocurrió un error al modificar un Agente", TipoMensaje.Error);
            }
        }