diff --git a/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs b/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs index 3b38416..df51d86 100644 --- a/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs +++ b/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs @@ -27,7 +27,7 @@ namespace VeterinaryShowOwnerApp.Controllers return Redirect("~/Home/Enter"); } return - View(APIOwner.GetRequest>($"api/main/getpets?ownerId={APIOwner.Owner.Id}")); + View(APIOwner.GetRequest>($"api/pet/getpets?ownerId={APIOwner.Owner.Id}")); } [HttpGet] public IActionResult Privacy() diff --git a/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Index.cshtml b/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Index.cshtml index 30437d6..e88dc60 100644 --- a/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Index.cshtml +++ b/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Index.cshtml @@ -14,9 +14,9 @@ return; }

- Создать животное - Обновить животное - Удалить животное + Создать животное + Обновить животное + Удалить животное