EpiServer - load block list based on property on each block

511 Views Asked by At

If I want to load a list of blocks based on a type I know I can do something like the following:

var blockType = contentTypeRepository.Load<MyBlock>();

But if I want to load the list based on both a type and a property on each block called tag being equal to "A", and at the same time have the list sorted by the property date on each block, how would I do that?

0

There are 0 best solutions below