source: PostgreSqlDotnetCore/Views/PetCares/Index.cshtml@ 2639fab

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

init commit Elena

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