source: PostgreSqlDotnetCore/Views/PetCares/Index.cshtml@ e9bb9d1

main
Last change on this file since e9bb9d1 was ae6c071, checked in by ElenaMoskova <elena.moskova99@…>, 6 weeks ago

Аutomating the process

automating the process of updating the list of veterinary centers

  • Property mode set to 100644
File size: 1.6 KB
Line 
1@model IEnumerable<PostgreSqlDotnetCore.Models.Pet_CaresClass>
2
3@{
4 ViewBag.Title = "DiagnosticsClass";
5}
6
7<h2>Schedule a appointment</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.title)
17 </th>
18 <th>
19 @Html.DisplayNameFor(model => model.description)
20 </th>
21 <th>
22 @Html.DisplayNameFor(model => model.dateending)
23 </th>
24 <th>
25 @Html.DisplayNameFor(model => model.start_date)
26 </th>
27 <th>
28 @Html.DisplayNameFor(model => model.usersid)
29 </th>
30 <th>
31 @Html.DisplayNameFor(model => model.vetcentersid)
32 </th>
33
34 <th></th>
35
36 </tr>
37
38@foreach (var item in Model) {
39 <tr>
40 <td>
41 @Html.DisplayFor(modelItem => item.title)
42 </td>
43 <td>
44 @Html.DisplayFor(modelItem => item.description)
45 </td>
46 <td>
47 @Html.DisplayFor(modelItem => item.dateending)
48 </td>
49 <td>
50 @Html.DisplayFor(modelItem => item.start_date)
51 </td>
52 <td>
53 @Html.DisplayFor(modelItem => item.usersid)
54 </td>
55 <td>
56 @Html.DisplayFor(modelItem => item.vetcentersid)
57 </td>
58
59
60
61 <td>
62 @Html.ActionLink("Edit", "Edit", new { id = item.id }) |
63 @Html.ActionLink("Details", "Details", new { id = item.id }) |
64 @Html.ActionLink("Delete", "Delete", new { id = item.id })
65 </td>
66 </tr>
67}
68
69</table>
Note: See TracBrowser for help on using the repository browser.