1.Your
Model
must have a type that implement
IEnumerable
or to be a list of items (like List, array, etc), and you must have declared in your view like in the next code:
@model List<MymodelUsedType>
or like:
@model MyModelType
2.You should change your
@Html.DisplayFor
with
@Html.Display
like in the next example:
@foreach(var item in Model)
{
@Html.Display(item.CountryCode)
@Html.Display(item.CountryName)
}