private async void CustomerView_Loaded(object sender, RoutedEventArgs e)
 {
     await _customerViewModel.LoadAsync();
 }
예제 #2
0
 private async void MainWindow_Loaded(object sender, RoutedEventArgs e)
 {
     await _viewModel.LoadAsync();
 }
예제 #3
0
        public async void LoadAsync_ShouldGetCustomerAndInitializeAfter(Guid id)
        {
            await _customerViewModel.LoadAsync(id);

            Assert.NotNull(_customerViewModel.Customer);
        }