@{ ViewBag.Title = "Index"; }

Index

@foreach (var entry in ViewBag.allRecords) {

@entry.Comment

Posted by @entry.Name

}