private bool FormDefaultExtensions(Investor investor, int numberOfExts) { var defaultInvestorExtensionList = new List <InvestorExtension>(); foreach (var extP in _extensionPoliciesLookup) { defaultInvestorExtensionList.AddRange( _extensionDaysLookup.Select(item => new InvestorExtension { Day = item.Value, DayName = item.Name, ExPolicyName = extP.Name, ExPolicyNthTime = extP.Value }).ToList()); } investor.Extensions = defaultInvestorExtensionList; return(numberOfExts == defaultInvestorExtensionList.Count); }