private void SermonsViewOnItemSelected(object sender, SelectedItemChangedEventArgs e) { var item = e.SelectedItem as Sermon; if (item != null) { if (item.Type == 1) { _model.ViewSermon(item); } _view.SermonsView.SelectedItem = null; } }
private void SermonsViewOnItemSelected(object sender, SelectedItemChangedEventArgs e) { var item = e.SelectedItem as Sermon; if (item != null) { if (item.Type == 1) { _model.ViewSermon(item); } _view.SermonsView.SelectedItem = null; } }