@model IEnumerable @{ ViewBag.Title = "Index"; }

Index

@foreach (var item in Model) { }
Date Category Message
@Html.ActionLink("Details", "Details", new { id=item.LogEntryId }) | @Html.ActionLink("Delete", "Delete", new { id=item.LogEntryId }) @String.Format("{0:g}", item.Date) @item.Category @item.Message