diff --git a/Hospital/HospitalWebApp/Views/Medicine/Medicines.cshtml b/Hospital/HospitalWebApp/Views/Medicine/Medicines.cshtml
index d86a582..f9bd135 100644
--- a/Hospital/HospitalWebApp/Views/Medicine/Medicines.cshtml
+++ b/Hospital/HospitalWebApp/Views/Medicine/Medicines.cshtml
@@ -37,9 +37,9 @@
@foreach (var medicine in Model)
{
- @Html.DisplayFor(modelItem => medicine.Id) |
- @Html.DisplayFor(modelItem => medicine.Name) |
- @Html.DisplayFor(modelItem => medicine.Description) |
+ @medicine.Id |
+ @medicine.Name |
+ @medicine.Description |
|
diff --git a/Hospital/HospitalWebApp/Views/Patient/CreatePatientRecipe.cshtml b/Hospital/HospitalWebApp/Views/Patient/CreatePatientRecipe.cshtml
index 796ab9a..e16c99c 100644
--- a/Hospital/HospitalWebApp/Views/Patient/CreatePatientRecipe.cshtml
+++ b/Hospital/HospitalWebApp/Views/Patient/CreatePatientRecipe.cshtml
@@ -27,7 +27,7 @@
diff --git a/Hospital/HospitalWebApp/Views/Patient/Patients.cshtml b/Hospital/HospitalWebApp/Views/Patient/Patients.cshtml
index e9c4e45..9f6d9bc 100644
--- a/Hospital/HospitalWebApp/Views/Patient/Patients.cshtml
+++ b/Hospital/HospitalWebApp/Views/Patient/Patients.cshtml
@@ -39,11 +39,11 @@
@foreach (var patient in Model)
{
- @Html.DisplayFor(modelItem => patient.Id) |
- @Html.DisplayFor(modelItem => patient.FullName) |
- @Html.DisplayFor(modelItem => patient.BirthDate) |
- @Html.DisplayFor(modelItem => patient.Phone) |
- @Html.DisplayFor(modelItem => patient.DoctorFullName) |
+ @patient.Id |
+ @patient.FullName |
+ @patient.BirthDate.ToShortDateString() |
+ @patient.Phone |
+ @patient.DoctorFullName |
|
diff --git a/Hospital/HospitalWebApp/Views/Procedure/Procedures.cshtml b/Hospital/HospitalWebApp/Views/Procedure/Procedures.cshtml
index 70963db..a82ccf1 100644
--- a/Hospital/HospitalWebApp/Views/Procedure/Procedures.cshtml
+++ b/Hospital/HospitalWebApp/Views/Procedure/Procedures.cshtml
@@ -37,9 +37,9 @@
@foreach (var procedure in Model)
{
- @Html.DisplayFor(modelItem => procedure.Id) |
- @Html.DisplayFor(modelItem => procedure.Name) |
- @Html.DisplayFor(modelItem => procedure.Description) |
+ @procedure.Id |
+ @procedure.Name |
+ @procedure.Description |
|
diff --git a/Hospital/HospitalWebApp/Views/Recipe/Recipes.cshtml b/Hospital/HospitalWebApp/Views/Recipe/Recipes.cshtml
index 7d41016..ff7e320 100644
--- a/Hospital/HospitalWebApp/Views/Recipe/Recipes.cshtml
+++ b/Hospital/HospitalWebApp/Views/Recipe/Recipes.cshtml
@@ -37,9 +37,9 @@
@foreach (var recipe in Model)
{
- @Html.DisplayFor(modelItem => recipe.Id) |
- @Html.DisplayFor(modelItem => recipe.IssueDate) |
- @Html.DisplayFor(modelItem => recipe.DoctorFullName) |
+ @recipe.Id |
+ @recipe.IssueDate.ToShortDateString() |
+ @recipe.DoctorFullName |
|
diff --git a/Hospital/HospitalWebApp/nlog.config b/Hospital/HospitalWebApp/nlog.config
new file mode 100644
index 0000000..e2fc1e9
--- /dev/null
+++ b/Hospital/HospitalWebApp/nlog.config
@@ -0,0 +1,15 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file