@model Vidly.ViewModels.CustomersViewModel @{ ViewBag.Title = "Customers"; Layout = "~/Views/Shared/_Layout.cshtml"; }

Customers

@**@ @Html.ActionLink("New Customer", "New", "Customers", null, new { @class = "btn btn-primary" }) @if (Model.Customers.Count == 0) { No one has rented this movie before. } else { @foreach (var customer in Model.Customers) { }
Customer Membership Type
@Html.ActionLink(@customer.Name, "Edit", "Customers", new { id = @customer.Id }, null) @customer.MembershipType.Name
}