diff --git a/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs b/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs index df51d86..d5ae5eb 100644 --- a/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs +++ b/VeterinaryView/VeterinaryShowOwnerApp/Controllers/HomeController.cs @@ -322,13 +322,13 @@ namespace VeterinaryShowOwnerApp.Controllers } return result; } - public IActionResult Purchase() + public IActionResult Purchases() { if (APIOwner.Owner == null) { return Redirect("~/Home/Enter"); } - return View(APIOwner.GetRequest>($"api/purchase/getpyrchase?ownerid={APIOwner.Owner.Id}")); + return View(APIOwner.GetRequest>($"api/purchase/getpurchase?ownerid={APIOwner.Owner.Id}")); } public IActionResult CreatePurchase() diff --git a/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Purchases.cshtml b/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Purchases.cshtml index 0f767d9..bb56de6 100644 --- a/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Purchases.cshtml +++ b/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Purchases.cshtml @@ -1,7 +1,7 @@ @using VeterinaryContracts.ViewModels @model List @{ - ViewData["Title"] = "Home Page"; + ViewData["Title"] = "Purchases"; }

Покупки

@@ -14,7 +14,7 @@ return; }

- Создать покупку + Создать покупку

diff --git a/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Visits.cshtml b/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Visits.cshtml index 18c1615..40fbd8f 100644 --- a/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Visits.cshtml +++ b/VeterinaryView/VeterinaryShowOwnerApp/Views/Home/Visits.cshtml @@ -1,7 +1,7 @@ @using VeterinaryContracts.ViewModels @model List @{ - ViewData["Title"] = "Home Page"; + ViewData["Title"] = "Visits"; }