source: PostgreSqlDotnetCore/Views/PetCares/Index.cshtml

main
Last change on this file was a3ce071, checked in by ElenaMoskova <elena.moskova99@…>, 4 weeks ago

changed to filling

changed in the filling order of start_date and date_ending

  • Property mode set to 100644
File size: 1.9 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.start_date)
23 </th>
24 <th>
25 @Html.DisplayNameFor(model => model.dateending)
26 </th>
27
28 <th>
29 @Html.DisplayNameFor(model => model.usersid)
30 </th>
31 <th>
32 @Html.DisplayNameFor(model => model.vetcentersid)
33 </th>
34 <th>
35 @Html.DisplayNameFor(model => model.PetsClass.name)
36 </th>
37
38 <th></th>
39
40 </tr>
41
42 @foreach (var item in Model)
43 {
44 <tr>
45 <td>
46 @Html.DisplayFor(modelItem => item.title)
47 </td>
48 <td>
49 @Html.DisplayFor(modelItem => item.description)
50 </td>
51 <td>
52 @Html.DisplayFor(modelItem => item.start_date)
53 </td>
54 <td>
55 @Html.DisplayFor(modelItem => item.dateending)
56 </td>
57
58 <td>
59 @Html.DisplayFor(modelItem => item.usersid)
60 </td>
61 <td>
62 @Html.DisplayFor(modelItem => item.vetcentersid)
63 </td>
64 <td>
65 @Html.DisplayFor(modelItem => item.PetsClass.name)
66 </td>
67
68
69
70 <td>
71 @Html.ActionLink("Edit", "Edit", new { id = item.id }) |
72 @Html.ActionLink("Details", "Details", new { id = item.id }) |
73 @Html.ActionLink("Delete", "Delete", new { id = item.id })
74 </td>
75 </tr>
76 }
77
78</table>
Note: See TracBrowser for help on using the repository browser.