main
Last change
on this file since 2aea0fd was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 2 months ago |
init commit Elena
|
-
Property mode
set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | @model IEnumerable<PostgreSqlDotnetCore.Models.PetsClass>
|
---|
2 |
|
---|
3 | @{
|
---|
4 | ViewBag.Title = "PetsClass";
|
---|
5 | }
|
---|
6 |
|
---|
7 | <h2>PetsClass</h2>
|
---|
8 |
|
---|
9 | <p>
|
---|
10 | @Html.ActionLink("Create New", "Create")
|
---|
11 | </p>
|
---|
12 | <table class="table">
|
---|
13 | <tr>
|
---|
14 |
|
---|
15 | <th>
|
---|
16 | @Html.DisplayNameFor(model => model.color)
|
---|
17 | </th>
|
---|
18 | <th>
|
---|
19 | @Html.DisplayNameFor(model => model.description)
|
---|
20 | </th>
|
---|
21 | <th>
|
---|
22 | @Html.DisplayNameFor(model => model.dateofbirthday)
|
---|
23 | </th>
|
---|
24 | <th>
|
---|
25 | @Html.DisplayNameFor(model => model.usersid)
|
---|
26 | </th>
|
---|
27 | <th>
|
---|
28 | @Html.DisplayNameFor(model => model.typeofpetsid)
|
---|
29 | </th>
|
---|
30 |
|
---|
31 |
|
---|
32 | <th></th>
|
---|
33 |
|
---|
34 | </tr>
|
---|
35 |
|
---|
36 | @foreach (var item in Model) {
|
---|
37 | <tr>
|
---|
38 | <td>
|
---|
39 | @Html.DisplayFor(modelItem => item.color)
|
---|
40 | </td>
|
---|
41 | <td>
|
---|
42 | @Html.DisplayFor(modelItem => item.description)
|
---|
43 | </td>
|
---|
44 | <td>
|
---|
45 | @Html.DisplayFor(modelItem => item.dateofbirthday)
|
---|
46 | </td>
|
---|
47 |
|
---|
48 | <td>
|
---|
49 | @Html.DisplayFor(modelItem => item.usersid)
|
---|
50 | </td>
|
---|
51 | <td>
|
---|
52 | @Html.DisplayFor(modelItem => item.typeofpetsid)
|
---|
53 | </td>
|
---|
54 |
|
---|
55 |
|
---|
56 |
|
---|
57 |
|
---|
58 | <td>
|
---|
59 | @Html.ActionLink("Edit", "Edit", new { id = item.id }) |
|
---|
60 | @Html.ActionLink("Details", "Details", new { id = item.id }) |
|
---|
61 | @Html.ActionLink("Delete", "Delete", new { id = item.id })
|
---|
62 | </td>
|
---|
63 | </tr>
|
---|
64 | }
|
---|
65 |
|
---|
66 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.