private async void CustomerView_Loaded(object sender, RoutedEventArgs e) { await _customerViewModel.LoadAsync(); }
private async void MainWindow_Loaded(object sender, RoutedEventArgs e) { await _viewModel.LoadAsync(); }
public async void LoadAsync_ShouldGetCustomerAndInitializeAfter(Guid id) { await _customerViewModel.LoadAsync(id); Assert.NotNull(_customerViewModel.Customer); }