@model User @{ ViewData["Title"] = "User details"; } User @Model.DisplayName
@foreach (var acc in Model.Accounts) {
 
@Html.DisplayFor(acc => acc.DisplayName) Details
}