public void agregarTipo() { Tipo_BLL tipoBLL = new Tipo_BLL(); Poyecto_Tickets_DAL.Tipo tipo = new Poyecto_Tickets_DAL.Tipo(); tipo.Nombre = txtNombre.Text; tipo.Descripcion = txtDescripcion.Text; tipoBLL.AgregarTipo(tipo); limpiarCampos(); }