@model IEnumerable @{ ViewData["Title"] = "Index"; }

Index

Create New

@foreach (var item in Model) { }
@Html.DisplayNameFor(model => model.ProductStock.ProductId) @Html.DisplayNameFor(model => model.ProductStock.Stock) @Html.DisplayNameFor(model => model.ProductStock.PriceId)
@Html.DisplayFor(modelItem => item.ProductStock.ProductId) @Html.DisplayFor(modelItem => item.ProductStock.Stock) @Html.DisplayFor(modelItem => item.ProductStock.PriceId) Edit | Details | Delete