- @Html.ActionLink("Edit", "Edit", new { id = Model.uuid }) | - @Html.ActionLink("Back to List", "Index") -
diff --git a/FIT5032-Assignment/Views/Users/Index.cshtml b/FIT5032-Assignment/Views/Users/Index.cshtml deleted file mode 100644 index b2a04a5..0000000 --- a/FIT5032-Assignment/Views/Users/Index.cshtml +++ /dev/null @@ -1,58 +0,0 @@ -@model IEnumerable- @Html.ActionLink("Create New", "Create") -
-- @Html.DisplayNameFor(model => model.displayName) - | -- @Html.DisplayNameFor(model => model.avatar) - | -- @Html.DisplayNameFor(model => model.role) - | -- @Html.DisplayNameFor(model => model.Doctors.bio) - | -- @Html.DisplayNameFor(model => model.Patients.phone) - | -- |
---|---|---|---|---|---|
- @Html.DisplayFor(modelItem => item.displayName) - | -- @Html.DisplayFor(modelItem => item.avatar) - | -- @Html.DisplayFor(modelItem => item.role) - | -- @Html.DisplayFor(modelItem => item.Doctors.bio) - | -- @Html.DisplayFor(modelItem => item.Patients.phone) - | -- @Html.ActionLink("Edit", "Edit", new { id=item.uuid }) | - @Html.ActionLink("Details", "Details", new { id=item.uuid }) | - @Html.ActionLink("Delete", "Delete", new { id=item.uuid }) - | -