Index.cshtml
2.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
@model IEnumerable<Maps.Entities.Road>
@{
Layout = null;
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width" />
<title>Index</title>
</head>
<body>
<p>
<a asp-action="Create">Create New</a>
</p>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.AcceptTransferDoc)
</th>
<th>
@Html.DisplayNameFor(model => model.AcceptanceDoc)
</th>
<th>
@Html.DisplayNameFor(model => model.AuthorityAct)
</th>
<th>
@Html.DisplayNameFor(model => model.EconomicValue)
</th>
<th>
@Html.DisplayNameFor(model => model.HistoricalBackground)
</th>
<th>
@Html.DisplayNameFor(model => model.Index)
</th>
<th>
@Html.DisplayNameFor(model => model.LawDoc)
</th>
<th>
@Html.DisplayNameFor(model => model.Length)
</th>
<th>
@Html.DisplayNameFor(model => model.Name)
</th>
<th>
@Html.DisplayNameFor(model => model.Value)
</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(modelItem => item.AcceptTransferDoc)
</td>
<td>
@Html.DisplayFor(modelItem => item.AcceptanceDoc)
</td>
<td>
@Html.DisplayFor(modelItem => item.AuthorityAct)
</td>
<td>
@Html.DisplayFor(modelItem => item.EconomicValue)
</td>
<td>
@Html.DisplayFor(modelItem => item.HistoricalBackground)
</td>
<td>
@Html.DisplayFor(modelItem => item.Index)
</td>
<td>
@Html.DisplayFor(modelItem => item.LawDoc)
</td>
<td>
@Html.DisplayFor(modelItem => item.Length)
</td>
<td>
@Html.DisplayFor(modelItem => item.Name)
</td>
<td>
@Html.DisplayFor(modelItem => item.Value)
</td>
<td>
<a asp-action="Edit" asp-route-id="@item.RoadId">Edit</a> |
<a asp-action="Details" asp-route-id="@item.RoadId">Details</a> |
<a asp-action="Delete" asp-route-id="@item.RoadId">Delete</a>
</td>
</tr>
}
</tbody>
</table>
</body>
</html>