Index: PostgreSqlDotnetCore/Views/VetCenter/Details.cshtml
===================================================================
--- PostgreSqlDotnetCore/Views/VetCenter/Details.cshtml	(revision 72b1da27c6dadc5f1ae45e91e7c4f60289917575)
+++ PostgreSqlDotnetCore/Views/VetCenter/Details.cshtml	(revision e9bb9d13e39b1e74f76562e3471e4189febd2a22)
@@ -1,3 +1,3 @@
-﻿@model PostgreSqlDotnetCore.Models.VetCenter
+﻿@model PostgreSqlDotnetCore.Models.VetCenterWithCity
 
 @{
@@ -5,73 +5,50 @@
 }
 
-<h2>Details</h2>
+<h2>Details for @Model.vet_center_name</h2>
 
-<div>
-    <h4>VetCenter</h4>
-    <hr />
-    <dl class="dl-horizontal">
-        <dt>
-            @Html.DisplayNameFor(model => model.name)
-        </dt>
+<table class="table">
+    <tr>
+        <th>@Html.DisplayNameFor(model => model.vet_center_name)</th>
+        <td>@Html.DisplayFor(model => model.vet_center_name)</td>
+    </tr>
+    <tr>
+        <th>@Html.DisplayNameFor(model => model.adress)</th>
+        <td>@Html.DisplayFor(model => model.adress)</td>
+    </tr>
+    <tr>
+        <th>@Html.DisplayNameFor(model => model.workinghours)</th>
+        <td>@Html.DisplayFor(model => model.workinghours)</td>
+    </tr>
+    <tr>
+        <th>@Html.DisplayNameFor(model => model.description)</th>
+        <td>@Html.DisplayFor(model => model.description)</td>
+    </tr>
+    <tr>
+        <th>@Html.DisplayNameFor(model => model.phonenumber)</th>
+        <td>@Html.DisplayFor(model => model.phonenumber)</td>
+    </tr>
+    <tr>
+        <th>@Html.DisplayNameFor(model => model.latitude)</th>
+        <td>@Html.DisplayFor(model => model.latitude)</td>
+    </tr>
+    <tr>
+        <th>@Html.DisplayNameFor(model => model.longitude)</th>
+        <td>@Html.DisplayFor(model => model.longitude)</td>
+    </tr>
+    <tr>
+        <th>@Html.DisplayNameFor(model => model.city_name)</th>
+        <td>@Html.DisplayFor(model => model.city_name)</td>
+    </tr>
+</table>
 
-        <dd>
-            @Html.DisplayFor(model => model.name)
-        </dd>
+@if (ViewBag.hasAccess != null && ViewBag.hasAccess == true)
+{
+    <p>
+        @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
+        @Html.ActionLink("Delete", "Delete", new { id = Model.id })
+    </p>
+}
 
-        <dt>
-            @Html.DisplayNameFor(model => model.adress)
-        </dt>
-
-        <dd>
-            @Html.DisplayFor(model => model.adress)
-        </dd>
-        <dt>
-            @Html.DisplayNameFor(model => model.description)
-        </dt>
-
-        <dd>
-            @Html.DisplayFor(model => model.description)
-        </dd>
-        <dt>
-            @Html.DisplayNameFor(model => model.workinghours)
-        </dt>
-
-        <dd>
-            @Html.DisplayFor(model => model.workinghours)
-        </dd>
-        <dt>
-            @Html.DisplayNameFor(model => model.phonenumber)
-        </dt>
-
-        <dd>
-            @Html.DisplayFor(model => model.phonenumber)
-        </dd>
-        <dt>
-            @Html.DisplayNameFor(model => model.latitude)
-        </dt>
-
-        <dd>
-            @Html.DisplayFor(model => model.latitude)
-        </dd>
-        <dt>
-            @Html.DisplayNameFor(model => model.longitude)
-        </dt>
-
-        <dd>
-            @Html.DisplayFor(model => model.longitude)
-        </dd>
-        <dt>
-            @Html.DisplayNameFor(model => model.citiesid)
-        </dt>
-
-        <dd>
-            @Html.DisplayFor(model => model.citiesid)
-        </dd>
-
-
-    </dl>
-</div>
 <p>
-    @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |
     @Html.ActionLink("Back to List", "Index")
 </p>
Index: PostgreSqlDotnetCore/Views/VetCenter/Index.cshtml
===================================================================
--- PostgreSqlDotnetCore/Views/VetCenter/Index.cshtml	(revision 72b1da27c6dadc5f1ae45e91e7c4f60289917575)
+++ PostgreSqlDotnetCore/Views/VetCenter/Index.cshtml	(revision e9bb9d13e39b1e74f76562e3471e4189febd2a22)
@@ -1,5 +1,7 @@
 ﻿@using Microsoft.AspNetCore.Identity
 @inject SignInManager<IdentityUser> SignInManager
-@model IEnumerable<PostgreSqlDotnetCore.Models.VetCenter>
+@* IEnumerable<PostgreSqlDotnetCore.Models.VetCenter>*@
+@model IEnumerable<PostgreSqlDotnetCore.Models.VetCenterWithCity>
+
 
 @{
@@ -23,5 +25,5 @@
     <tr>
         <th>
-            @Html.DisplayNameFor(model => model.name)
+            @Html.DisplayNameFor(model => model.vet_center_name)
         </th>
         <th>
@@ -45,5 +47,5 @@
         </th>
         <th>
-            @Html.DisplayNameFor(model => model.citiesid)
+            @Html.DisplayNameFor(model => model.city_name)
         </th>
         <th></th>
@@ -54,5 +56,5 @@
         <tr>
             <td>
-                @Html.DisplayFor(modelItem => item.name)
+                @Html.DisplayFor(modelItem => item.vet_center_name)
             </td>
             <td>
@@ -76,5 +78,5 @@
             </td>
             <td>
-                @Html.DisplayFor(modelItem => item.citiesid)
+                @Html.DisplayFor(modelItem => item.city_name)
             </td>
             <td>
@@ -85,17 +87,17 @@
             </td>
 
-            
 
-         @*   @if ((SignInManager.IsSignedIn(User)))
-            {
-                <td>
 
-                    @Html.ActionLink("Edit", "Edit", new { id = item.id }) |
-                    @Html.ActionLink("Details", "Details", new { id = item.id }) |
-                    @Html.ActionLink("Delete", "Delete", new { id = item.id })
+            @*   @if ((SignInManager.IsSignedIn(User)))
+        {
+        <td>
 
-                </td>
-            }
-           *@
+        @Html.ActionLink("Edit", "Edit", new { id = item.id }) |
+        @Html.ActionLink("Details", "Details", new { id = item.id }) |
+        @Html.ActionLink("Delete", "Delete", new { id = item.id })
+
+        </td>
+        }
+        *@
 
             @* Додадете условие за проверка на улогите *@
