I have a collection and inside I have another collection of images. I need to make a foreach chained to grab information from the first collection, and then the second foreach to get the images I have referring to the first looping.
Here is my code:
@foreach ( var item in Model )
{
<div class="title-pagina-interna">
<h2>@item.Titulo</h2>
</div>
<div class="container-carrossel">
@foreach (Imagem teste in item.Thumb)
But the following error is returning me:
How can I resolve this?