cshtml foreach
Code Example - cshtml foreach
@foreach (var item in Model.Foos)
{
<div>@item.Bar</div>
}
@foreach (var item in Model.Foos)
{
<div>@item.Bar</div>
}