public SystemSettingRetailViewModel(IAppContextService appContextService, ISystemSettingRetailsService systemSettingRetailsService, IBankAccountsService bankAccountsService, IStocksService stocksService)
        {
            _bankAccountsService         = bankAccountsService;
            _stocksService               = stocksService;
            _appContextService           = appContextService;
            _systemSettingRetailsService = systemSettingRetailsService;
            SystemSettingRetailModel     = _systemSettingRetailsService.GetSystemSettingRetailModel();

            SaveCommand = new RelayCommand(onSave);
        }
 public AddEditBankAccountViewModel(IBankAccountsService bankAccountsService, RelatedPersonListViewModel relatedPersonListViewModel, IBanksService banksService, ICurrenciesService currenciesService, IAccountTypesService accountTypesService)
 {
     _currenciesService              = currenciesService;
     _bankAccountsService            = bankAccountsService;
     _banksService                   = banksService;
     _accountTypesService            = accountTypesService;
     CancelCommand                   = new RelayCommand(OnCancel);
     SaveCommand                     = new RelayCommand(OnSave, CanSave);
     BanksDropDownOpenedCommand      = new RelayCommand(OnBanksDropDownOpened, () => Banks != null && Banks.Any());
     CurrenciesDropDownOpenedCommand = new RelayCommand(OnCurrenciesDropDownOpened, () => Currencies != null && Currencies.Any());
     RelatedPersonListViewModel      = relatedPersonListViewModel;
 }
Exemplo n.º 3
0
 public BankAccountListViewModel(IBankAccountsService bankAccountsService,
                                 IBanksService banksService, ICurrenciesService currenciesService, IAccountTypesService accountTypesService, ICompanyInformationsService companyInformationsService)
 {
     _companyInformationsService = companyInformationsService;
     CompanyInformationModel     = _companyInformationsService.GetCompanyInformationModel();
     _banksService           = banksService;
     _currenciesService      = currenciesService;
     _accountTypesService    = accountTypesService;
     _bankAccountsService    = bankAccountsService;
     AddBankAccountCommand   = new RelayCommand(OnAddBankAccount);
     EditBankAccountCommand  = new RelayCommand <BankAccount>(OnEditBankAccount);
     DeleteCommand           = new RelayCommand <BankAccount>(OnDeleteBankAccount);
     AddRelatedPersonCommand = new RelayCommand <BankAccount>(OnAddRelatedPerson);
     BankAccount             = new BankAccount();
 }
Exemplo n.º 4
0
        public DLListViewModel(ISystemAccountingSettingsService systemAccountingSettingsService
                               , IBankAccountsService bankAccountsService, IBanksService banksService, ICurrenciesService currenciesService, IAccountTypesService accountTypesService, ICompanyInformationsService companyInformationsService)
        {
            _companyInformationsService      = companyInformationsService;
            CompanyInformationModel          = _companyInformationsService.GetCompanyInformationModel();
            _systemAccountingSettingsService = systemAccountingSettingsService;

            _banksService                   = banksService;
            _currenciesService              = currenciesService;
            _accountTypesService            = accountTypesService;
            _bankAccountsService            = bankAccountsService;
            BanksDropDownOpenedCommand      = new RelayCommand(OnBanksDropDownOpened, () => Banks != null && Banks.Any());
            CurrenciesDropDownOpenedCommand = new RelayCommand(OnCurrenciesDropDownOpened, () => Currencies != null && Currencies.Any());
            AddDLCommand   = new RelayCommand(OnAddDL);
            EditDLCommand  = new RelayCommand <DL>(OnEditDL);
            _accessUtility = SmObjectFactory.Container.GetInstance <AccessUtility>();
        }
Exemplo n.º 5
0
 public BankAccountController(IBankAccountsService bankAccountsService, IMapper mapper)
 {
     _bankAccountsService = bankAccountsService;
     _mapper = mapper;
 }
 public BankAccountController(IBankAccountsService bankAccountsService, ILogger <BankAccountController> log)
 {
     this.bankAccountsService = bankAccountsService;
     this.log = log;
 }
Exemplo n.º 7
0
 public BankController(IBanksService banks, IBankAccountsService bankAccounts)
 {
     this.banks        = banks;
     this.bankAccounts = bankAccounts;
 }
Exemplo n.º 8
0
 public HomeController(IBankingAppContext bankingAppContext, IBankAccountsService bankAccountsService)
 {
     _bankingAppContext   = bankingAppContext;
     _bankAccountsService = bankAccountsService;
 }