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