public TransactionService( ILog log, IIcoExRateClient exRateClient, IInvestorAttributeRepository investorAttributeRepository, ICampaignInfoRepository campaignInfoRepository, ICampaignSettingsRepository campaignSettingsRepository, IInvestorTransactionRepository investorTransactionRepository, IInvestorRefundRepository investorRefundRepository, IInvestorRepository investorRepository, IQueuePublisher<InvestorNewTransactionMessage> investmentMailSender, IKycService kycService, IReferralCodeService referralCodeService, string siteSummaryPageUrl) { _log = log; _exRateClient = exRateClient; _investorAttributeRepository = investorAttributeRepository; _campaignInfoRepository = campaignInfoRepository; _campaignSettingsRepository = campaignSettingsRepository; _investorTransactionRepository = investorTransactionRepository; _investorRefundRepository = investorRefundRepository; _investorRepository = investorRepository; _investmentMailSender = investmentMailSender; _kycService = kycService; _referralCodeService = referralCodeService; _siteSummaryPageUrl = siteSummaryPageUrl; }
public InvestorService(IUserRepository userRepository, IInvestorRepository investorRepository, ICompanyRepository companyRepository, IMapper mapper) { _userRepository = userRepository; _investorRepository = investorRepository; _companyRepository = companyRepository; _mapper = mapper; }
public CapitalCallController(IFundRepository fundRepository, ICapitalCallRepository capitalCallRepository, IInvestorRepository investorRepository, DeepBlue.Controllers.Admin.IAdminRepository adminRepository) { FundRepository=fundRepository; CapitalCallRepository=capitalCallRepository; InvestorRepository=investorRepository; AdminRepository=adminRepository; }
public static async Task <Investor> GetInvestorOrFailAsync( this IInvestorRepository repository, Guid userId) { var investor = await repository.GetAsync(userId); if (investor == null) { throw new InvestorNotFoundSerExc($"Investor with user id: '{userId}' was not found."); } return(investor); }
// Constructor public InvestorManager(IInvestorRepository investorRepository) { _investorRepository = investorRepository; }
public InvestorController(IInvestorRepository investorRepository, IAdminRepository adminRepository) { InvestorRepository = investorRepository; AdminRepository = adminRepository; }
public InvestorService(IInvestorRepository investorRepository, IAccountRepository accountRepository) { _investorRepository = investorRepository; _accountRepository = accountRepository; }
static EFInvestorRepository() { Instance = new EFInvestorRepository(); }
public InvestorService(IInvestorRepository investorRepository, IUnitOfWork unitOfWork) { _investorRepository = investorRepository; _unitOfWork = unitOfWork; }
public InvestorController(IInvestorRepository investorRepository) { _investorRepository = investorRepository; }
public InvestorService(IInvestorRepository investorRepository, IUnitOfWork unitOfWork, IUserRepository userRepository) { this.investorRepository = investorRepository; this.unitOfWork = unitOfWork; this.userRepository = userRepository; }
public InvestorService(IInvestorRepository repo) { _repo = repo; }