Ejemplo n.º 1
0
 public EditInvestmentCommandHandler(IUserRepository repository, IAccountRepository accountRepository,
                                     IInvestmentService investmentService)
 {
     _userRepository    = repository;
     _accountRepository = accountRepository;
     _investmentService = investmentService;
 }
Ejemplo n.º 2
0
 public HomeController(IUserService userService, IFinancialService financialService, IInvestmentService investmentService, IArticleService articleService)
 {
     _userService       = userService;
     _financialService  = financialService;
     _investmentService = investmentService;
     _articleService    = articleService;
 }
Ejemplo n.º 3
0
 // GET: MatchingBonus
 public MatchingBonusController(IUserService userService, IInvestmentService investmentService, IFinancialService financialService, IDocService docService)
 {
     _userService       = userService;
     _investmentService = investmentService;
     _financialService  = financialService;
     _docService        = docService;
 }
Ejemplo n.º 4
0
 public InvestmentController(IConfiguration configuration, IMemoryCache cache, ILogger <InvestmentController> logger, IInvestmentService investmentService)
 {
     _configuration     = configuration;
     _cache             = cache;
     _logger            = logger;
     _investmentService = investmentService;
     _mockyApi          = configuration.GetSection("AppSettings").GetSection("MockyApi").Value;
 }
Ejemplo n.º 5
0
 public InvestController(IActionStation actionStation,
                         ISequenceService sequenceService,
                         IInvestmentService investmentService)
     : base(actionStation)
 {
     _sequenceService   = sequenceService;
     _investmentService = investmentService;
 }
Ejemplo n.º 6
0
 public InvestController(IActionStation actionStation,
     ISequenceService sequenceService,
     IInvestmentService investmentService) 
     : base(actionStation)
 {
     _sequenceService = sequenceService;
     _investmentService = investmentService;
 }
Ejemplo n.º 7
0
 public ProjectsController(
     IProjectService projectService,
     IInvestmentService investmentService,
     UserManager <UserEntity> userManager
     )
 {
     _projectService    = projectService;
     _investmentService = investmentService;
     _userManager       = userManager;
 }
Ejemplo n.º 8
0
 public InvestmentAndPaymentProcessManager(ICommandBus commandBus, IEventBus eventBus,
                                           IAccountService accountService,
                                           IProjectService projectService,
                                           IInvestmentService investmentService)
     : base(commandBus, eventBus)
 {
     _accountService    = accountService;
     _projectService    = projectService;
     _investmentService = investmentService;
 }
Ejemplo n.º 9
0
        public InvestmentServiceTests()
        {
            _mapperMock  = new AutoMapperMock();
            _userService = new UserServiceMock();

            _context = SeedData(5);
            _investmentRepository = new InvestmentRepositoryMock(_context);

            _investmentService = new InvestmentService(_investmentRepository, _userService.Object, _mapperMock.Object);
        }
Ejemplo n.º 10
0
 public AddressController(
     IOptions <AppSettings> appSettings,
     IFundService fundService,
     IStakeService stakeService,
     IInvestmentService investmentService,
     IScopedCancellationToken scopedCancellationToken)
     : base(appSettings)
 {
     this.fundService             = fundService;
     this.stakeService            = stakeService;
     this.investmentService       = investmentService;
     this.scopedCancellationToken = scopedCancellationToken;
 }
Ejemplo n.º 11
0
 public ReportService(
     IRepository <MonthlyReport> repository,
     IMapper mapper, IUserService userService,
     IAccountService accountService,
     ITransactionService transactionService,
     IInvestmentService investmentService)
 {
     this._repository         = repository;
     this._mapper             = mapper;
     this._accountService     = accountService;
     this._userService        = userService;
     this._transactionService = transactionService;
     this._investmentService  = investmentService;
 }
 public PositionReportService(
     IPositionService positionService,
     IHedgeLimitOrderService hedgeLimitOrderService,
     IAssetHedgeSettingsService assetHedgeSettingsService,
     IInvestmentService investmentService,
     IHedgeSettingsService hedgeSettingsService,
     IRateService rateService)
 {
     _positionService           = positionService;
     _hedgeLimitOrderService    = hedgeLimitOrderService;
     _assetHedgeSettingsService = assetHedgeSettingsService;
     _investmentService         = investmentService;
     _hedgeSettingsService      = hedgeSettingsService;
     _rateService = rateService;
 }
Ejemplo n.º 13
0
 public RiskExposureReportService(
     IAssetHedgeSettingsService assetHedgeSettingsService,
     IInvestmentService investmentService,
     IIndexSettingsService indexSettingsService,
     IIndexPriceService indexPriceService,
     IPositionService positionService,
     IQuoteService quoteService,
     ITokenService tokenService)
 {
     _assetHedgeSettingsService = assetHedgeSettingsService;
     _indexPriceService         = indexPriceService;
     _indexSettingsService      = indexSettingsService;
     _investmentService         = investmentService;
     _quoteService    = quoteService;
     _positionService = positionService;
     _tokenService    = tokenService;
 }
Ejemplo n.º 14
0
 public TransactionService(
     IRepository <Transaction> transactionRepository,
     IUserService userService,
     IMapper mapper,
     IAccountService accountService,
     IBudgetService budgetService,
     IGoalService goalService,
     IInvestmentService investmentService,
     IPaymentService paymentService
     )
 {
     this._transactionRepository = transactionRepository;
     this._userService           = userService;
     this._mapper            = mapper;
     this._accountService    = accountService;
     this._budgetService     = budgetService;
     this._goalService       = goalService;
     this._investmentService = investmentService;
     this._paymentService    = paymentService;
 }
 public HedgeService(
     IIndexPriceService indexPriceService,
     IIndexSettingsService indexSettingsService,
     IAssetHedgeSettingsService assetHedgeSettingsService,
     ITokenService tokenService,
     IPositionService positionService,
     IHedgeSettingsService hedgeSettingsService,
     IInvestmentService investmentService,
     IQuoteService quoteService,
     IExchangeAdapter[] exchangeAdapters,
     ILogFactory logFactory)
 {
     _indexPriceService         = indexPriceService;
     _indexSettingsService      = indexSettingsService;
     _assetHedgeSettingsService = assetHedgeSettingsService;
     _tokenService         = tokenService;
     _positionService      = positionService;
     _hedgeSettingsService = hedgeSettingsService;
     _investmentService    = investmentService;
     _quoteService         = quoteService;
     _exchangeAdapters     = exchangeAdapters.ToDictionary(exchange => exchange.Name, exchange => exchange);
     _log = logFactory.CreateLog(this);
 }
Ejemplo n.º 16
0
 public ReturnManagerController(IInvestmentService investmentService, IFinancialService financialService, IDocService docService) : base()
 {
     _investmentService = investmentService;
     _financialService  = financialService;
     _docService        = docService;
 }
Ejemplo n.º 17
0
 public ReferralController(IUserService userService, IInvestmentService investmentService)
 {
     _userService       = userService;
     _investmentService = investmentService;
 }
Ejemplo n.º 18
0
 public Portfolio(IInvestmentService investmentService, IOptions <ApiSettings> options)
 {
     _investmentService = investmentService;
     _keys = options.Value.Uris;
 }
Ejemplo n.º 19
0
 public InvestController(ISequenceService sequenceService,
     IInvestmentService investmentService)
 {
     _sequenceService = sequenceService;
     _investmentService = investmentService;
 }
Ejemplo n.º 20
0
 public HomeController(
     IInvestmentService investmentService)
 {
     _investmentService = investmentService;
 }
 public InvestmentController(IInvestmentService investmentOptionService, IExchangeRateService exchangeRateService)
 {
     _investmentService   = investmentOptionService;
     _exchangeRateService = exchangeRateService;
 }
Ejemplo n.º 22
0
 public InvestmentController(IInvestmentService investmentService)
 {
     _investmentService = investmentService;
 }
Ejemplo n.º 23
0
 public InvestmentsController(IMapper mapper, IInvestmentService investmentService)
 {
     _mapper            = mapper;
     _investmentService = investmentService;
 }
Ejemplo n.º 24
0
 public InvestmentController(IInvestmentService investmentService)
 {
     this._investmentService = investmentService;
 }
Ejemplo n.º 25
0
 public InvestController(ISequenceService sequenceService,
                         IInvestmentService investmentService)
 {
     _sequenceService   = sequenceService;
     _investmentService = investmentService;
 }
Ejemplo n.º 26
0
 public InvestmentController(IInvestmentService investmentService, IUserService userService)
 {
     _investmentService = investmentService;
     _userService       = userService;
 }
Ejemplo n.º 27
0
 public AccountController(IUserService userService, IBankService bankService = null, IInvestmentService investmentService = null)
 {
     _userService       = userService;
     _bankService       = bankService;
     _investmentService = investmentService;
 }