コード例 #1
0
 public AddEditBankViewModel(IBanksService banksService, IBankTypesService bankTypesService)
 {
     _banksService     = banksService;
     _bankTypesService = bankTypesService;
     CancelCommand     = new RelayCommand(OnCancel);
     SaveCommand       = new RelayCommand(OnSave, CanSave);
 }
コード例 #2
0
 public ReceiveTransactionsController(
     IBanksService banksService,
     IMapper mapper,
     IOptions <CentralApiConfiguration> configuration)
 {
     this.banksService  = banksService;
     this.mapper        = mapper;
     this.configuration = configuration.Value;
 }
コード例 #3
0
 public BankListViewModel(IBanksService banksService, ICompanyInformationsService companyInformationsService)
 {
     _companyInformationsService = companyInformationsService;
     CompanyInformationModel     = _companyInformationsService.GetCompanyInformationModel();
     _banksService   = banksService;
     AddBankCommand  = new RelayCommand(OnAddBank);
     EditBankCommand = new RelayCommand <Bank>(OnEditBank);
     DeleteCommand   = new RelayCommand <Bank>(OnDeleteBank);
     _accessUtility  = SmObjectFactory.Container.GetInstance <AccessUtility>();
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 public ClientController(
     ICountriesService countries,
     ICitiesService cities,
     IClientsService clients,
     IMunicipalitiesService municipalities,
     IBanksService banks)
 {
     this.countries      = countries;
     this.cities         = cities;
     this.clients        = clients;
     this.municipalities = municipalities;
     this.banks          = banks;
 }
コード例 #6
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();
 }
コード例 #7
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>();
        }
コード例 #8
0
 public DepositsService(ApplicationDbContext dbContext, IBanksService banksService)
 {
     this.dbContext    = dbContext;
     this.banksService = banksService;
 }
コード例 #9
0
 public BanksController(IBanksService banksService)
 {
     this.banksService = banksService;
 }
コード例 #10
0
 public CardPaymentsController(IBanksService banksService, IOptions <CentralApiConfiguration> configuration)
 {
     this.banksService  = banksService;
     this.configuration = configuration.Value;
 }
コード例 #11
0
 public BankController(IBanksService banks, IBankAccountsService bankAccounts)
 {
     this.banks        = banks;
     this.bankAccounts = bankAccounts;
 }
コード例 #12
0
 public DepositsController(IDepositsService depositsService, IBanksService banksService)
 {
     this.depositsService = depositsService;
     this.banksService    = banksService;
 }