コード例 #1
0
 public async Task ShowApprovedReportsAsync()
 {
     await this._viewService.ExecuteBusyActionAsync(
         async() =>
     {
         // show approved reports
         ExpenseReportsViewModel expenseReportsViewModel = new ExpenseReportsViewModel(this._serviceFactory);
         await expenseReportsViewModel.LoadApprovedExpenseReportsAsync();
         this.CurrentViewModel = expenseReportsViewModel;
     });
 }
コード例 #2
0
 public async Task ShowApprovedReportsAsync()
 {
     await this._viewService.ExecuteBusyActionAsync(
         async () =>
         {
             // show approved reports
             ExpenseReportsViewModel expenseReportsViewModel = new ExpenseReportsViewModel(this._serviceFactory);
             await expenseReportsViewModel.LoadApprovedExpenseReportsAsync();
             this.CurrentViewModel = expenseReportsViewModel;
         });
 }