22 lines
391 B
Plaintext
22 lines
391 B
Plaintext
@model IEnumerable<Customer>
|
|
|
|
<table>
|
|
<thead>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Address</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var customer in Model)
|
|
{
|
|
<tr>
|
|
<td>@customer.Name</td>
|
|
<td>@customer.Address</td>
|
|
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|