public void SetIndexType(EntityType indexType) { _indexType = indexType; viewModel.SetIndexType(indexType); }