@model List @if (Model != null && Model.Count > 0) { foreach (var note in Model) { } } else { }
Date Author Title
@((note.DateAdded == null) ? "N/A" : note.DateAdded.ToString("d")) @note.Author.UserName @note.Title Edit Delete
There are no notes for this scenario.