I have this class:
ActiveCampaign
{
public Campaign campaign;
public IEnumerable<CampaignView> Views;
}
ac is type of ActiveCampaign[]
The following code executes without any errors but nothing is added to its views. What amd I missing here?
ac.FirstOrDefault(a => a.Campaign.Id == c.Id).Views.ToList().Add(cv);