source: PostgreSqlDotnetCore/Views/Jobs/Index.cshtml@ 8f8226c

main
Last change on this file since 8f8226c was 2aea0fd, checked in by ElenaMoskova <elena.moskova99@…>, 2 months ago

init commit Elena

  • Property mode set to 100644
File size: 1.1 KB
Line 
1@model IEnumerable<PostgreSqlDotnetCore.Models.JobsClass>
2
3@{
4 ViewBag.Title = "JobsClass";
5}
6
7<h2>JobsClass</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.description)
17 </th>
18 <th>
19 @Html.DisplayNameFor(model => model.predictedsalery)
20 </th>
21 <th>
22 @Html.DisplayNameFor(model => model.vetcentersid)
23 </th>
24
25 <th></th>
26
27 </tr>
28
29@foreach (var item in Model) {
30 <tr>
31 <td>
32 @Html.DisplayFor(modelItem => item.description)
33 </td>
34 <td>
35 @Html.DisplayFor(modelItem => item.predictedsalery)
36 </td>
37
38 <td>
39 @Html.DisplayFor(modelItem => item.vetcentersid)
40 </td>
41
42
43 <td>
44 @Html.ActionLink("Edit", "Edit", new { id = item.id }) |
45 @Html.ActionLink("Details", "Details", new { id = item.id }) |
46 @Html.ActionLink("Delete", "Delete", new { id = item.id })
47 </td>
48 </tr>
49}
50
51</table>
Note: See TracBrowser for help on using the repository browser.