public async Task ShowApprovedReportsAsync() { await this._viewService.ExecuteBusyActionAsync( async() => { // show approved reports ExpenseReportsViewModel expenseReportsViewModel = new ExpenseReportsViewModel(this._serviceFactory); await expenseReportsViewModel.LoadApprovedExpenseReportsAsync(); this.CurrentViewModel = expenseReportsViewModel; }); }
public async Task ShowApprovedReportsAsync() { await this._viewService.ExecuteBusyActionAsync( async () => { // show approved reports ExpenseReportsViewModel expenseReportsViewModel = new ExpenseReportsViewModel(this._serviceFactory); await expenseReportsViewModel.LoadApprovedExpenseReportsAsync(); this.CurrentViewModel = expenseReportsViewModel; }); }