Ejemplo n.º 1
0
 public TransactionService(IUnitOfWork unitOfWork, IMapper mapp, IWithdrawService withdrawService, IDepositService depositService) : base(unitOfWork)
 {
     _unitOfWork      = unitOfWork;
     _mapp            = mapp;
     _depositService  = depositService;
     _withdrawService = withdrawService;
 }
Ejemplo n.º 2
0
 public DepositController(IUnitOfWork _unitOfWork, IDepositService _depositService, IAccountService _accountService, IMT4Service _mt4Service)
 {
     this.depositService = _depositService;
     this.mt4Service     = _mt4Service;
     this.accountService = _accountService;
     this.unitOfWork     = _unitOfWork;
 }
Ejemplo n.º 3
0
 public AccountController(
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     SignInManager <ApplicationUser> signInManager,
     ILogger <AccountController> logger,
     IMessager messager,
     IGenerator generator,
     IMapper mapper,
     IBranchService branchService,
     IEmployeeService employeeService,
     ICustomerService customerService,
     IDepositService depositService,
     ILoanService loanService
     ) : base(
         userManager,
         roleManager,
         mapper,
         generator)
 {
     _signInManager   = signInManager;
     _logger          = logger;
     _messager        = messager;
     _branchService   = branchService;
     _employeeService = employeeService;
     _customerService = customerService;
     _depositService  = depositService;
     _loanService     = loanService;
 }
Ejemplo n.º 4
0
 public CalculationDepositController(ICalculationDepositService iCalculationDepositService, IDepositService depositService, IValidationService validationService)
     : base()
 {
     calculationDepositService = iCalculationDepositService;
     this.depositService       = depositService;
     this.validationService    = validationService;
 }
 public DepositController(
     ISafeService safeService,
     IDepositService depositService)
 {
     _safeService = safeService;
     _depositService = depositService;
 }
Ejemplo n.º 6
0
 public ReportsController(UserManager <ApplicationUser> userManager,
                          RoleManager <IdentityRole> roleManager,
                          ILogger <ReportsController> logger,
                          IMapper mapper,
                          IGenerator generator,
                          IBranchService branchService,
                          IProductService productService,
                          ICustomerService customerService,
                          IEmployeeService employeeService,
                          IDepositService depositService,
                          IDepositConfirmService depositconfirmService,
                          ILoanService loanService,
                          ILoanApprovalService loanapprovalService,
                          IRefundService refundService,
                          IRefundConfirmService refundconfirmService) : base(userManager, roleManager, mapper, generator)
 {
     _logger                = logger;
     _branchService         = branchService;
     _productService        = productService;
     _customerService       = customerService;
     _employeeService       = employeeService;
     _depositService        = depositService;
     _depositconfirmService = depositconfirmService;
     _loanService           = loanService;
     _loanapprovalService   = loanapprovalService;
     _refundService         = refundService;
     _refundconfirmService  = refundconfirmService;
 }
Ejemplo n.º 7
0
 public DepositController(IUnitOfWork _unitOfWork, IDepositService _depositService, IAccountService _accountService, IMT4Service _mt4Service)
 {
     this.depositService = _depositService;
     this.mt4Service = _mt4Service;
     this.accountService = _accountService;
     this.unitOfWork = _unitOfWork;
 }
Ejemplo n.º 8
0
 public DepositController(
     ISafeService safeService,
     IDepositService depositService)
 {
     _safeService    = safeService;
     _depositService = depositService;
 }
 public CalculationDepositController(ICalculationDepositService iCalculationDepositService, IDepositService depositService, IValidationService validationService)
     : base()
 {
     calculationDepositService = iCalculationDepositService;
     this.depositService = depositService;
     this.validationService = validationService;
 }
Ejemplo n.º 10
0
 public DepositController(IDepositService depositService, ILogger <DepositController> logger,
                          IOwnerService ownerService)
 {
     _depositService = depositService;
     _logger         = logger;
     _ownerService   = ownerService;
 }
Ejemplo n.º 11
0
 public HomeController(ISystemSettingsService _systemSettingService, IAccountService _accountService, IDepositService _depositService, IMT4Service _mt4Service, IUnitOfWork _unitOfWork)
 {
     this.accountService       = _accountService;
     this.systemSettingService = _systemSettingService;
     this.depositService       = _depositService;
     this.mt4Service           = _mt4Service;
     this.unitOfWork           = _unitOfWork;
 }
Ejemplo n.º 12
0
 public HomeController(ISystemSettingsService _systemSettingService, IAccountService _accountService, IDepositService _depositService, IMT4Service _mt4Service, IUnitOfWork _unitOfWork)
 {
     this.accountService = _accountService;
     this.systemSettingService = _systemSettingService;
     this.depositService = _depositService;
     this.mt4Service = _mt4Service;
     this.unitOfWork = _unitOfWork;
 }
 public DepositTypeManagmentController(IDepositService deposit,
                                       ICurrencyService currencyService, IInterestPaymentTypeService interestPaymentType, IDepositTermService depositTerm)
 {
     _depoService            = deposit;
     _currencyService        = currencyService;
     _interestPaymentService = interestPaymentType;
     _depositTerm            = depositTerm;
 }
 internal RegularPersonalDetailsService(
     IDepositService depositService,
     IWithdrawService withdrawService,
     ISelfExclusionService selfExclusionService) : base(withdrawService)
 {
     this.depositService       = depositService;
     this.selfExclusionService = selfExclusionService;
 }
Ejemplo n.º 15
0
 public DepositController(IDepositService depositService, IUserService userService,
     IRequestService requestService, IDepositPaymentService depositPaymentService, IDateService dateService) : base(userService)
 {
     this.depositService = depositService;
     this.requestService = requestService;
     this.depositPaymentService = depositPaymentService;
     this.dateService = dateService;
 }
Ejemplo n.º 16
0
 public DepositModel(
     ITransactionService transactionService,
     IDepositService depositService,
     ICardService cardService)
 {
     _transactionService = transactionService;
     _depositService     = depositService;
     _cardService        = cardService;
 }
 public PaymentEventService(IBatchService batchService, IDepositService depositService, IDonationService donationService,
                            IPushpayService pushpayService)
 {
     _batchService    = batchService;
     _depositService  = depositService;
     _donationService = donationService;
     _pushpayService  = pushpayService;
     //_logger = logger;
 }
Ejemplo n.º 18
0
 public DepositGateway(IDepositService depositService, IDividendService dividendService, 
     ModelToViewModelMapper modelToViewModelMapper, ViewModelToModelMapper viewModelToModelMapper)
 {
     Guard.AgainstNull(() => depositService, () => dividendService, () => modelToViewModelMapper, () => viewModelToModelMapper);
     _depositService = depositService;
     _dividendService = dividendService;
     _modelToViewModelMapper = modelToViewModelMapper;
     _viewModelToModelMapper = viewModelToModelMapper;
 }
Ejemplo n.º 19
0
 public RequestController(IRequestService requestService, IDepositTypeService depositTypeService,
     ICreditTypeService creditTypeService, IUserService userService, ICreditService creditService, IDepositService depositService) : base (userService)
 {
     this.requestService = requestService;
     this.depositTypeService = depositTypeService;
     this.creditTypeService = creditTypeService;
     this.creditService = creditService;
     this.depositService = depositService;
 }
Ejemplo n.º 20
0
 public CreateModel(IDepositService depositService,
                    ICreditCardService creditCardService,
                    UserManager <Client> userManager)
 {
     this.depositService    = depositService;
     this.creditCardService = creditCardService;
     this.userManager       = userManager;
     this.CreditCardItems   = new List <SelectListItem>();
 }
 public DepositController(IMapper mapper, IDepositService depserv, IAccountService accountService,
                          LinkGenerator urlHelper, IpropertyMappingService propservice, ITypeHelperService typeHelperService)
 {
     _mapper                 = mapper;
     _depositserv            = depserv;
     _accountService         = accountService;
     _urlHelper              = urlHelper;
     _propertyMappingService = propservice;
     _typeHelperService      = typeHelperService;
 }
 public void Setup()
 {
     _blockchainBridge           = Substitute.For <INdmBlockchainBridge>();
     _consumerNotifier           = Substitute.For <IConsumerNotifier>();
     _depositRepository          = Substitute.For <IDepositDetailsRepository>();
     _depositService             = Substitute.For <IDepositService>();
     _requiredBlockConfirmations = 2;
     _depositConfirmationService = new DepositConfirmationService(_blockchainBridge, _consumerNotifier,
                                                                  _depositRepository, _depositService, LimboLogs.Instance, _requiredBlockConfirmations);
 }
Ejemplo n.º 23
0
        public DepositServiceTest()
        {
            _depositRepository = new Mock <IDepositRepository>();
            _mapper            = new Mock <IMapper>();
            _pushpayService    = new Mock <IPushpayService>();
            _restClient        = new Mock <IRestClient>();
            _configWrapper     = new Mock <IConfigurationWrapper>();

            _fixture = new DepositService(_depositRepository.Object, _mapper.Object, _pushpayService.Object, _configWrapper.Object, _restClient.Object);
        }
Ejemplo n.º 24
0
 public AccountsController(
     IDepositService depositService,
     IWithdrawService withdrawService,
     ICloseService closeService,
     IAccountsQueries accountsQueries)
 {
     this.depositService  = depositService;
     this.withdrawService = withdrawService;
     this.closeService    = closeService;
     this.accountsQueries = accountsQueries;
 }
Ejemplo n.º 25
0
 public DepositConfirmationService(INdmBlockchainBridge blockchainBridge, IConsumerNotifier consumerNotifier,
                                   IDepositDetailsRepository depositRepository, IDepositService depositService, ILogManager logManager,
                                   uint requiredBlockConfirmations)
 {
     _blockchainBridge           = blockchainBridge;
     _consumerNotifier           = consumerNotifier;
     _depositRepository          = depositRepository;
     _depositService             = depositService;
     _logger                     = logManager.GetClassLogger();
     _requiredBlockConfirmations = requiredBlockConfirmations;
 }
        protected override async void When()
        {
            depositType.Setup(x => x.GetAllWithCurrency()).ReturnsAsync(depositTypes);
            service = new DepositService(depositType.Object, null, null, null, null, null, null, null, null);

            depositType.Setup(x => x.GetAllWithCurrency()).ReturnsAsync(depositTypes);
            acctualDepositTypes = await service.Filter(sortingString, inputColumnName, inputSearchstring);

            depositType.Setup(x => x.GetAllWithCurrency()).ReturnsAsync(depositTypes);
            acctualDepositTypes1 = await service.Filter(sortingString1, inputColumnName1, inputSearchstring1);
        }
Ejemplo n.º 27
0
 public CurrencyAppService(
     ICurrencyService serviceCurrency
     , IDepositService serviceDeposit
     , ITransferService serviceTransfer
     , ITransactionService serviceTransaction)
     : base(serviceCurrency)
 {
     _serviceCurrency    = serviceCurrency;
     _serviceDeposit     = serviceDeposit;
     _serviceTransfer    = serviceTransfer;
     _serviceTransaction = serviceTransaction;
 }
 public AccountDepositService(IAccountDepositRepository <AccountDeposit> repository, IRepository <AccountDeposit> rep, UserManager <User> userManager,
                              IUserService userService, IRepository <Account> accountRepository,
                              BankDbContext context, IDepositService depositService)
 {
     _accountDeposit    = repository;
     _rep               = rep;
     _userManager       = userManager;
     _userService       = userService;
     _accountRepository = accountRepository;
     _context           = context;
     _depositService    = depositService;
 }
Ejemplo n.º 29
0
 public DepositsController(BankDbContext context,
                           IDepositService depositService, IAccountService accountService
                           , IAccountDepositService accountDepositService,
                           IMapper mapper, UserManager <User> userManager, IUserService userService)
 {
     _context               = context;
     _depositService        = depositService;
     _accountService        = accountService;
     _accountDepositService = accountDepositService;
     _mapper      = mapper;
     _userManager = userManager;
     _userService = userService;
 }
Ejemplo n.º 30
0
 public CreatedServices(Address consumerAddress,
                        IAbiEncoder abiEncoder, IRlpDecoder <DataHeader> dataHeaderRlpDecoder, IDepositService depositService,
                        INdmDataPublisher ndmDataPublisher, IJsonRpcNdmConsumerChannel jsonRpcNdmConsumerChannel,
                        INdmConsumerChannelManager ndmConsumerChannelManager, IBlockchainBridge blockchainBridge)
 {
     ConsumerAddress           = consumerAddress;
     AbiEncoder                = abiEncoder;
     DataHeaderRlpDecoder      = dataHeaderRlpDecoder;
     DepositService            = depositService;
     NdmDataPublisher          = ndmDataPublisher;
     JsonRpcNdmConsumerChannel = jsonRpcNdmConsumerChannel;
     NdmConsumerChannelManager = ndmConsumerChannelManager;
     BlockchainBridge          = blockchainBridge;
 }
Ejemplo n.º 31
0
 public AccountController(IUnitOfWork unitOfWork,
     IAccountService accountService,
     IMT4Service mt4service,
     ISystemSettingsService systemSettingService,
     IDepositService depositService,
     log4net.ILog log)
 {
     this._accountService = accountService;
     this._mt4Service = mt4service;
     this._unitOfWork = unitOfWork;
     this._systemSettingService = systemSettingService;
     this._depositService = depositService;
     this._log = log;
 }
Ejemplo n.º 32
0
 public DepositController(IDepositService depositService,
                          ICurrencyService currencyService,
                          IDepositTermService depositTermService,
                          IBankAccountService bankAccountService,
                          UserManager <User> userManager,
                          ITestDataInitializerService iTestDataInitializerService)
 {
     _depositService             = depositService;
     _currencyService            = currencyService;
     _depositTermService         = depositTermService;
     _bankAccountService         = bankAccountService;
     _userManager                = userManager;
     _testDataInitializerService = iTestDataInitializerService;
 }
Ejemplo n.º 33
0
 public AccountsController(
     IAccountService account,
     UserManager <User> userManager,
     ILoanService loanService,
     IDepositService depositService,
     IAccountDepositService accountDepositService,
     IAccountLoanService accountLoanService
     )
 {
     _account               = account;
     _userManager           = userManager;
     _loanService           = loanService;
     _depositService        = depositService;
     _accountDepositService = accountDepositService;
     _accountLoanService    = accountLoanService;
 }
Ejemplo n.º 34
0
 public NdmCreatedServices(Address consumerAddress,
                           IAbiEncoder abiEncoder, IRlpDecoder <DataAsset> dataAssetRlpDecoder, IDepositService depositService,
                           INdmDataPublisher ndmDataPublisher, IJsonRpcNdmConsumerChannel jsonRpcNdmConsumerChannel,
                           INdmConsumerChannelManager ndmConsumerChannelManager, INdmBlockchainBridge blockchainBridge,
                           IEthJsonRpcClientProxy ethJsonRpcClientProxy)
 {
     ConsumerAddress           = consumerAddress;
     AbiEncoder                = abiEncoder;
     DataAssetRlpDecoder       = dataAssetRlpDecoder;
     DepositService            = depositService;
     NdmDataPublisher          = ndmDataPublisher;
     JsonRpcNdmConsumerChannel = jsonRpcNdmConsumerChannel;
     NdmConsumerChannelManager = ndmConsumerChannelManager;
     BlockchainBridge          = blockchainBridge;
     EthJsonRpcClientProxy     = ethJsonRpcClientProxy;
 }
Ejemplo n.º 35
0
 public UploadsController(
     UserManager <ApplicationUser> userManager,
     RoleManager <IdentityRole> roleManager,
     ILogger <UploadsController> logger,
     IMapper mapper,
     IGenerator generator,
     IEmployeeService employeeService,
     ICustomerService customerService,
     IDepositService depositService
     ) : base(userManager, roleManager, mapper, generator)
 {
     _logger          = logger;
     _employeeService = employeeService;
     _customerService = customerService;
     _depositService  = depositService;
 }
Ejemplo n.º 36
0
 public NdmCreatedServices(Address consumerAddress,
                           IAbiEncoder abiEncoder, IRlpDecoder <DataAsset> dataAssetRlpDecoder, IDepositService depositService,
                           GasPriceService gasPriceService, TransactionService transactionService,
                           INdmDataPublisher ndmDataPublisher, IJsonRpcNdmConsumerChannel jsonRpcNdmConsumerChannel,
                           INdmConsumerChannelManager ndmConsumerChannelManager, INdmBlockchainBridge blockchainBridge)
 {
     ConsumerAddress           = consumerAddress;
     AbiEncoder                = abiEncoder;
     DataAssetRlpDecoder       = dataAssetRlpDecoder;
     DepositService            = depositService;
     GasPriceService           = gasPriceService;
     TransactionService        = transactionService;
     NdmDataPublisher          = ndmDataPublisher;
     JsonRpcNdmConsumerChannel = jsonRpcNdmConsumerChannel;
     NdmConsumerChannelManager = ndmConsumerChannelManager;
     BlockchainBridge          = blockchainBridge;
 }
Ejemplo n.º 37
0
 public DepositManager(IDepositService depositService, IDepositUnitsCalculator depositUnitsCalculator,
                       IDataAssetService dataAssetService, IKycVerifier kycVerifier, IProviderService providerService,
                       IAbiEncoder abiEncoder, ICryptoRandom cryptoRandom, IWallet wallet,
                       IDepositDetailsRepository depositRepository, IConsumerSessionRepository sessionRepository,
                       ITimestamper timestamper, ILogManager logManager, uint requiredBlockConfirmations)
 {
     _depositService             = depositService;
     _depositUnitsCalculator     = depositUnitsCalculator;
     _depositRepository          = depositRepository;
     _sessionRepository          = sessionRepository;
     _dataAssetService           = dataAssetService;
     _kycVerifier                = kycVerifier;
     _providerService            = providerService;
     _abiEncoder                 = abiEncoder;
     _cryptoRandom               = cryptoRandom;
     _timestamper                = timestamper;
     _requiredBlockConfirmations = requiredBlockConfirmations;
     _wallet = wallet;
     _logger = logManager.GetClassLogger();
 }
Ejemplo n.º 38
0
 public DepositController(IDepositService iDepositService)
     : base()
 {
     _depositService = iDepositService;
 }
Ejemplo n.º 39
0
 public DepositController(IDepositService depositService)
 {
     _depositService = depositService;
 }