cshtml establecer un valor máximo foreach
@foreach (ViewModel variable in Model.Take(value))
Inexpensive Impala
@foreach (ViewModel variable in Model.Take(value))