From 529c82b892cb80900e207cb4bf7a2dc3d35d3ab0 Mon Sep 17 00:00:00 2001 From: DyCTaTOR <125912249+DyCTaTOR@users.noreply.github.com> Date: Fri, 19 Apr 2024 21:46:41 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9D=D0=B5=20=D0=BE=D1=82=D0=BE=D0=B1=D1=80?= =?UTF-8?q?=D0=B0=D0=B6=D0=B0=D1=8E=D1=82=D1=81=D1=8F=20=D1=80=D0=B0=D0=B1?= =?UTF-8?q?=D0=BE=D1=82=D1=8B=20=D0=B8=20=D0=BA=D0=BB=D0=B8=D0=B5=D0=BD?= =?UTF-8?q?=D1=82=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PlumbingRepairClientApp.csproj | 8 -------- PlumbingRepair/PlumbingRepairClientApp/Program.cs | 3 +++ .../PlumbingRepairClientApp/Views/Home/Register.cshtml | 2 +- .../PlumbingRepairRestApi/PlumbingRepairRestApi.csproj | 1 + 4 files changed, 5 insertions(+), 9 deletions(-) diff --git a/PlumbingRepair/PlumbingRepairClientApp/PlumbingRepairClientApp.csproj b/PlumbingRepair/PlumbingRepairClientApp/PlumbingRepairClientApp.csproj index b0a6408..964b76e 100644 --- a/PlumbingRepair/PlumbingRepairClientApp/PlumbingRepairClientApp.csproj +++ b/PlumbingRepair/PlumbingRepairClientApp/PlumbingRepairClientApp.csproj @@ -6,14 +6,6 @@ enable - - - - - - - - diff --git a/PlumbingRepair/PlumbingRepairClientApp/Program.cs b/PlumbingRepair/PlumbingRepairClientApp/Program.cs index 0727468..d074655 100644 --- a/PlumbingRepair/PlumbingRepairClientApp/Program.cs +++ b/PlumbingRepair/PlumbingRepairClientApp/Program.cs @@ -1,3 +1,5 @@ +using PlumbingRepairClientApp; + var builder = WebApplication.CreateBuilder(args); // Add services to the container. @@ -5,6 +7,7 @@ builder.Services.AddControllersWithViews(); var app = builder.Build(); +APIClient.Connect(builder.Configuration); // Configure the HTTP request pipeline. if (!app.Environment.IsDevelopment()) { diff --git a/PlumbingRepair/PlumbingRepairClientApp/Views/Home/Register.cshtml b/PlumbingRepair/PlumbingRepairClientApp/Views/Home/Register.cshtml index 1fab3e9..0ce6c7b 100644 --- a/PlumbingRepair/PlumbingRepairClientApp/Views/Home/Register.cshtml +++ b/PlumbingRepair/PlumbingRepairClientApp/Views/Home/Register.cshtml @@ -1,5 +1,5 @@ @{ - ViewData["Title"] = "Register"; + ViewData["Title"] = "Register"; }

Регистрация

diff --git a/PlumbingRepair/PlumbingRepairRestApi/PlumbingRepairRestApi.csproj b/PlumbingRepair/PlumbingRepairRestApi/PlumbingRepairRestApi.csproj index 0564c67..7550168 100644 --- a/PlumbingRepair/PlumbingRepairRestApi/PlumbingRepairRestApi.csproj +++ b/PlumbingRepair/PlumbingRepairRestApi/PlumbingRepairRestApi.csproj @@ -4,6 +4,7 @@ net6.0 enable enable + Exe