public CashFlowController(ICashFlowRepository cashFlowRepository, ICashFlowRepository cashFlowRepository2) { var id = cashFlowRepository.Id; var id2 = cashFlowRepository2.Id; CashFlowRepository = cashFlowRepository; }
public CashFlowService( IMapper mapper, ICashFlowRepository cashFlowRepository, ILoanApplicationRepository loanApplicationRepository ) { this.mapper = mapper; this.cashFlowRepository = cashFlowRepository; this.loanApplicationRepository = loanApplicationRepository; }
public NetPresentValueService(ITransactionRepository transactionRepository, INetPresentValueRepository netPresentValueRepository, ICashFlowRepository cashFlowRepository, INpvCalculatorFactory npvCalculatorFactory, IMapper mapper) { _transactionRepository = transactionRepository ?? throw new ArgumentException(nameof(transactionRepository)); _netPresentValueRepository = netPresentValueRepository; _cashFlowRepository = cashFlowRepository; _npvCalculatorFactory = npvCalculatorFactory ?? throw new ArgumentException(nameof(npvCalculatorFactory)); _mapper = mapper ?? throw new ArgumentException(nameof(mapper)); }
public NetworkService( INetworkRepository networkRepository, INodeRepository nodeRepository, ICashFlowRepository cashFlowRepository, INetworkMapper mapper, INodeMapper nodeMapper, IMemoryCache cache ) { _networkRepository = networkRepository; _nodeRepository = nodeRepository; _cashFlowRepository = cashFlowRepository; _networkMapper = mapper; _nodeMapper = nodeMapper; _cache = cache; }
public CashFlowController(ICashFlowRepository cashFlowRepository, IUnitOfWork unitOfWork, IMapper mapper) { CashFlowRepository = cashFlowRepository; UnitOfWork = unitOfWork; Mapper = mapper; }