private void OnRelationCreateStarted(object sender, RelationCreateViewModel viewModel) { RelationCreateDialog view = new RelationCreateDialog { DataContext = viewModel }; view.ShowDialog(); }
private void CreateRelationExecute(object parameter) { RelationCreateViewModel relationCreateViewModel = new RelationCreateViewModel(_application, SelectedConsumer, SelectedProvider); RelationCreateStarted?.Invoke(this, relationCreateViewModel); }