private void CargarTema(int temaId) { if (temaId == 0) { _tema = new Tema(); //Default values. } else { _tema = Uow.Temas.Obtener(t => t.Id == temaId); this.Nombre = _tema.Nombre; } }
private void SeleccionarSubTema() { if (TemaId.HasValue) { _tema = Uow.Temas.Obtener(p => p.Id == (int)Combo.SelectedValue); } else { _tema = null; } if (_tema != null) OnSeleccionarSucursalFinished(_tema); }
private void OnSeleccionarSucursalFinished(Tema tema) { if (SeleccionarFinished != null) { SeleccionarFinished(this, tema); } }
private void CambioTema(object sender, Tema tema) { if (!_limpiandoFiltros) OnFiltered(); }