Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @model IEnumerable<MmmJqDt.Data.Models.Customer>
- @{
- ViewBag.Title = "Home";
- Layout = "~/Views/Shared/_Layout.cshtml";
- }
- <table id="table-customers" class="table table-hover table-striped">
- <thead>
- <tr>
- <th>First name</th>
- <th>Last name</th>
- <th>Company</th>
- <th>Email</th>
- <th>Telephone</th>
- <th>City</th>
- </tr>
- </thead>
- <tbody>
- @foreach (var item in Model)
- {
- <tr>
- <td>@item.FirstName</td>
- <td>@item.LastName</td>
- <td>@item.CompanyName</td>
- <td>@item.Email</td>
- <td>@item.Telephone</td>
- <td>@item.City</td>
- </tr>
- }
- </tbody>
- </table>
- @section scripts{
- <script src="@Url.Content("~/js/index.js")"></script>
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement