Back @if (Torrents is null) { @for (var i = 0; i < 10; i++) { } } else { foreach (var torrent in Torrents) { @torrent.Name } }