TigerMan
11/22/2024, 2:09 PMrickbutterfield
11/22/2024, 2:49 PMBlockListItem
type doesn't know what the underlying content model is, so you'll probably need to cast it. Maybe something like (with null checking)
csharp
var data = rootSource.AllCustomers as List<BlockListItem<YourContentModel>>
or even reselect the list first
csharp
var custCodeTyped = data.Select(x => x as BlockListItem<YourContentModel>);
var custCode = custCodeTyped.Select(x => x.Content.CustCode) //Should now work