@model List @{ ViewBag.Title = "Payment Details"; }

Details

@Html.ActionLink("Back to List", "Index")
    @foreach (var transaction in Model) { @Html.Partial("_WriteTransaction", transaction) }