main
Last change
on this file since a3ce071 was a3ce071, checked in by ElenaMoskova <elena.moskova99@…>, 3 months 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
|
Rev | Line | |
---|
[2aea0fd] | 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>
|
---|
[a3ce071] | 22 | @Html.DisplayNameFor(model => model.start_date)
|
---|
[2aea0fd] | 23 | </th>
|
---|
[ae6c071] | 24 | <th>
|
---|
[a3ce071] | 25 | @Html.DisplayNameFor(model => model.dateending)
|
---|
[ae6c071] | 26 | </th>
|
---|
[a3ce071] | 27 |
|
---|
[2aea0fd] | 28 | <th>
|
---|
| 29 | @Html.DisplayNameFor(model => model.usersid)
|
---|
| 30 | </th>
|
---|
| 31 | <th>
|
---|
| 32 | @Html.DisplayNameFor(model => model.vetcentersid)
|
---|
| 33 | </th>
|
---|
[e90ba32] | 34 | <th>
|
---|
| 35 | @Html.DisplayNameFor(model => model.PetsClass.name)
|
---|
| 36 | </th>
|
---|
[2aea0fd] | 37 |
|
---|
| 38 | <th></th>
|
---|
| 39 |
|
---|
| 40 | </tr>
|
---|
| 41 |
|
---|
[e90ba32] | 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>
|
---|
[a3ce071] | 52 | @Html.DisplayFor(modelItem => item.start_date)
|
---|
[e90ba32] | 53 | </td>
|
---|
[ae6c071] | 54 | <td>
|
---|
[a3ce071] | 55 | @Html.DisplayFor(modelItem => item.dateending)
|
---|
[ae6c071] | 56 | </td>
|
---|
[a3ce071] | 57 |
|
---|
[e90ba32] | 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>
|
---|
[2aea0fd] | 67 |
|
---|
| 68 |
|
---|
| 69 |
|
---|
[e90ba32] | 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 | }
|
---|
[2aea0fd] | 77 |
|
---|
| 78 | </table>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.