public CategoriesViewModel(ICategoriesDataService categoriesDataService,
                            MoneySpentDialogViewModel moneySpentDialogViewModel, INavigationService navigationService)
 {
     _categoriesDataService     = categoriesDataService;
     _moneySpentDialogViewModel = moneySpentDialogViewModel;
     _navigationService         = navigationService;
 }
Example #2
0
 public MoneySpentSumViewModel(IExpendituresDataService expendituresDataService,
                               MoneySpentDialogViewModel moneySpentDialogViewModel,
                               INavigationService navigationService,
                               ISettingsRepo settingsRepo)
 {
     _expendituresDataService   = expendituresDataService;
     _moneySpentDialogViewModel = moneySpentDialogViewModel;
     _navigationService         = navigationService;
     _settingsRepo       = settingsRepo;
     ConfirmationCommand = new Command(ConfirmSum);
 }