I am following an ASP.net MVC 3 tutorial , which sets up an online music store .
This code is the Delete.cshtml
view for StoreManagerController.cs
@model MyStore.Models.Album
@{ ViewBag.Title = "Delete";}
<h2>Delete</h2>
<h3>Are you sure you want to delete this?</h3>
@Html.DisplayFor(model => model.Genre.Name)
What I'd like to know is , in the last line, why cant we do this
@Html.DisplayFor(model.Genre.Name)
Why is a lambda expression used here? Thanks