var result = (from a in result
join b in _customerInvestmentRepository.Table on a.CustomerInvestmentId equals b.Id
where b.InvestmentStatus == investmentStatus
select a
);
List<InvestmentDividendModel> list = result.Select(t => new InvestmentDividendModel() { CreateWhen=t.CreateWhen, InvestmentNumber=t.InvestmentNumber, Amount=t.Amount }).ToList();