@model ThAmCo.Events.Models.SelectVenueModel @{ ViewData["Title"] = "SelectVenue"; }

SelectVenue

@foreach (var item in Model.Venues) { }
@Html.DisplayNameFor(model => model.Venues.FirstOrDefault().Code) @Html.DisplayNameFor(model => model.Venues.FirstOrDefault().Name) @Html.DisplayNameFor(model => model.Venues.FirstOrDefault().Capacity) @Html.DisplayNameFor(model => model.Venues.FirstOrDefault().Date) @Html.DisplayNameFor(model => model.Venues.FirstOrDefault().CostPerHour)
@Html.DisplayFor(modelItem => item.Code) @Html.DisplayFor(modelItem => item.Name) @Html.DisplayFor(modelItem => item.Capacity) @Html.DisplayFor(modelItem => item.Date) @Html.DisplayFor(modelItem => item.CostPerHour)
@Html.Hidden("VenueDate", item.Date) @Html.Hidden("VenueCode", item.Code) @Html.Hidden("Id", Model.Id)