Movies included in database as well and handled in site
This commit is contained in:
@ -8,3 +8,11 @@
|
||||
|
||||
<h1>@Model.Name - @Model.Id</h1>
|
||||
|
||||
<ul >
|
||||
<li>Membership Type: @Model.MembershipType.Name</li>
|
||||
@if (Model.BirthDate != null)
|
||||
{
|
||||
<li>Birthdate : @Model.BirthDate.Value.ToShortDateString()</li>
|
||||
}
|
||||
</ul>
|
||||
|
||||
|
||||
@ -16,7 +16,7 @@ else
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Customer</th>
|
||||
<th >Discount Rate</th>
|
||||
<th >Membership Type</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@ -24,7 +24,7 @@ else
|
||||
{
|
||||
<tr>
|
||||
<td>@Html.ActionLink(@customer.Name, "Details", "Customers", new { id = @customer.Id }, null)</td>
|
||||
<td>@customer.MembershipType.DiscountRate%</td>
|
||||
<td>@customer.MembershipType.Name</td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
|
||||
Reference in New Issue
Block a user