public CategoryPageViewModel(ICategoryService categoryService, IWalletCategoryService walletCategoryService, IRuleService ruleService)
        {
            this.categoryService       = categoryService;
            this.walletCategoryService = walletCategoryService;
            this.ruleService           = ruleService;
            modified = false;

            DeleCategoryCommand = new AsyncCommandHandler(DeleteCategory);

            Category = new Category();
        }
Пример #2
0
        public WalletEditPageViewModel(IWalletService walletService, IWalletCategoryService walletCategoryService, IWalletBankService walletBankService, ICurrencyService currencyService)
        {
            this.walletService         = walletService;
            this.walletCategoryService = walletCategoryService;
            this.walletBankService     = walletBankService;
            this.currencyService       = currencyService;
            modified = false;

            DeleteWalletCommand = new AsyncCommandHandler(DeleteWallet);

            Wallet = new Wallet();
        }
 public CategoriesPageViewModel(ICategoryService categoryService, IWalletCategoryService walletCategoryService)
 {
     this.categoryService       = categoryService;
     this.walletCategoryService = walletCategoryService;
 }