Skip the first three authors, then take 2.
⬇️ Result | Source ➡️
- George Akerlof
- Raphael Müller (not an author)
@inherits Custom.Hybrid.RazorTyped
@using System.Linq
@{
var persons = AsItems(App.Data.GetStream("Persons"));
var books = AsItems(App.Data.GetStream("Books"));
}
<ol>
@foreach (var person in persons.Skip(3).Take(2)) {
<li>@person.Get("FirstName") @person.Get("LastName")</li>
}
</ol>