diff --git a/RenovationWork/RenovationWorkClientApp/Controllers/HomeController.cs b/RenovationWork/RenovationWorkClientApp/Controllers/HomeController.cs index 4c4bf76..7a417d1 100644 --- a/RenovationWork/RenovationWorkClientApp/Controllers/HomeController.cs +++ b/RenovationWork/RenovationWorkClientApp/Controllers/HomeController.cs @@ -138,7 +138,7 @@ namespace RenovationWorkClientApp.Controllers [HttpPost] public double Calc(int count, int repair) { - var _repair = APIClient.GetRequest($"api/main/get repair? repairid={repair}"); + var _repair = APIClient.GetRequest($"api/main/getrepair?repairid={repair}"); return Math.Round(count * (_repair?.Price ?? 1), 2); } } diff --git a/RenovationWork/RenovationWorkClientApp/Views/Home/Enter.cshtml b/RenovationWork/RenovationWorkClientApp/Views/Home/Enter.cshtml index e82fe41..667088f 100644 --- a/RenovationWork/RenovationWorkClientApp/Views/Home/Enter.cshtml +++ b/RenovationWork/RenovationWorkClientApp/Views/Home/Enter.cshtml @@ -1,6 +1,6 @@ @{ ViewData["Title"] = "Enter"; - } +}

Вход в приложение