private void AddInvestmentsToPortfolio(IEnumerable<Investment> investments) { foreach (var investment in investments) { Investor investor = investment.Investor; investor.AddInvestmentToPortfolio(investment); } }