public void DoAction() { ServiceView serviceView = new ServiceView(); serviceView.DataContext = new ServiceViewModel(_viewModel._unitOfWork); serviceView.ShowDialog(); }
public static void openServiceWindow() { serviceView.ShowDialog(mainForm); }