From a48d6d1e448f6c36629ecbbf5285fed44898a790 Mon Sep 17 00:00:00 2001 From: dasha Date: Sat, 8 Apr 2023 17:14:55 +0400 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=BC=D0=BE=D0=B3=D0=B8=D1=82?= =?UTF-8?q?=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HardwareShop/HardwareShopClientApp/APIClient.cs | 2 +- .../HardwareShopClientApp/Controllers/HomeController.cs | 4 ++-- .../Controllers/StorekeeperController.cs | 2 +- HardwareShop/HardwareShopClientApp/Models/ErrorViewModel.cs | 2 +- HardwareShop/HardwareShopClientApp/Program.cs | 2 +- .../HardwareShopClientApp/Properties/launchSettings.json | 2 +- .../HardwareShopClientApp/Views/Shared/_Layout.cshtml | 2 +- .../Views/Shared/_LayoutStorekeeper.cshtml | 2 +- HardwareShop/HardwareShopClientApp/Views/_ViewImports.cshtml | 4 ++-- 9 files changed, 11 insertions(+), 11 deletions(-) diff --git a/HardwareShop/HardwareShopClientApp/APIClient.cs b/HardwareShop/HardwareShopClientApp/APIClient.cs index cf16c75..f83e062 100644 --- a/HardwareShop/HardwareShopClientApp/APIClient.cs +++ b/HardwareShop/HardwareShopClientApp/APIClient.cs @@ -3,7 +3,7 @@ using Newtonsoft.Json; using System.Net.Http.Headers; using System.Text; -namespace HardwareShopClientApp +namespace HardwareShopStorekeeperApp { //Клиент который общается с API, а не наша сущность public class APIClient diff --git a/HardwareShop/HardwareShopClientApp/Controllers/HomeController.cs b/HardwareShop/HardwareShopClientApp/Controllers/HomeController.cs index 9363314..e68e31c 100644 --- a/HardwareShop/HardwareShopClientApp/Controllers/HomeController.cs +++ b/HardwareShop/HardwareShopClientApp/Controllers/HomeController.cs @@ -1,11 +1,11 @@ -using HardwareShopClientApp.Models; +using HardwareShopStorekeeperApp.Models; using HardwareShopContracts.BindingModels; using HardwareShopContracts.ViewModels; using HardwareShopDataModels.Enums; using Microsoft.AspNetCore.Mvc; using System.Diagnostics; -namespace HardwareShopClientApp.Controllers +namespace HardwareShopStorekeeperApp.Controllers { public class HomeController : Controller { diff --git a/HardwareShop/HardwareShopClientApp/Controllers/StorekeeperController.cs b/HardwareShop/HardwareShopClientApp/Controllers/StorekeeperController.cs index a47f727..f4d5314 100644 --- a/HardwareShop/HardwareShopClientApp/Controllers/StorekeeperController.cs +++ b/HardwareShop/HardwareShopClientApp/Controllers/StorekeeperController.cs @@ -1,6 +1,6 @@ using Microsoft.AspNetCore.Mvc; -namespace HardwareShopClientApp.Controllers +namespace HardwareShopStorekeeperApp.Controllers { public class StorekeeperController : Controller { diff --git a/HardwareShop/HardwareShopClientApp/Models/ErrorViewModel.cs b/HardwareShop/HardwareShopClientApp/Models/ErrorViewModel.cs index d38c7d7..64dbb45 100644 --- a/HardwareShop/HardwareShopClientApp/Models/ErrorViewModel.cs +++ b/HardwareShop/HardwareShopClientApp/Models/ErrorViewModel.cs @@ -1,4 +1,4 @@ -namespace HardwareShopClientApp.Models +namespace HardwareShopStorekeeperApp.Models { public class ErrorViewModel { diff --git a/HardwareShop/HardwareShopClientApp/Program.cs b/HardwareShop/HardwareShopClientApp/Program.cs index 9ff3bc8..dde8734 100644 --- a/HardwareShop/HardwareShopClientApp/Program.cs +++ b/HardwareShop/HardwareShopClientApp/Program.cs @@ -1,4 +1,4 @@ -using HardwareShopClientApp; +using HardwareShopStorekeeperApp; var builder = WebApplication.CreateBuilder(args); diff --git a/HardwareShop/HardwareShopClientApp/Properties/launchSettings.json b/HardwareShop/HardwareShopClientApp/Properties/launchSettings.json index 9d48746..a24a974 100644 --- a/HardwareShop/HardwareShopClientApp/Properties/launchSettings.json +++ b/HardwareShop/HardwareShopClientApp/Properties/launchSettings.json @@ -8,7 +8,7 @@ } }, "profiles": { - "HardwareShopClientApp": { + "HardwareShopStorekeeperApp": { "commandName": "Project", "dotnetRunMessages": true, "launchBrowser": true, diff --git a/HardwareShop/HardwareShopClientApp/Views/Shared/_Layout.cshtml b/HardwareShop/HardwareShopClientApp/Views/Shared/_Layout.cshtml index 22c63b4..79215e3 100644 --- a/HardwareShop/HardwareShopClientApp/Views/Shared/_Layout.cshtml +++ b/HardwareShop/HardwareShopClientApp/Views/Shared/_Layout.cshtml @@ -6,7 +6,7 @@ @ViewData["Title"] - Магазин компьютерной техники - + @RenderSection("Header") diff --git a/HardwareShop/HardwareShopClientApp/Views/Shared/_LayoutStorekeeper.cshtml b/HardwareShop/HardwareShopClientApp/Views/Shared/_LayoutStorekeeper.cshtml index 366f479..a39a75e 100644 --- a/HardwareShop/HardwareShopClientApp/Views/Shared/_LayoutStorekeeper.cshtml +++ b/HardwareShop/HardwareShopClientApp/Views/Shared/_LayoutStorekeeper.cshtml @@ -6,7 +6,7 @@ @ViewData["Title"] - Магазин компьютерной техники - +
diff --git a/HardwareShop/HardwareShopClientApp/Views/_ViewImports.cshtml b/HardwareShop/HardwareShopClientApp/Views/_ViewImports.cshtml index 5c73bb9..ae44515 100644 --- a/HardwareShop/HardwareShopClientApp/Views/_ViewImports.cshtml +++ b/HardwareShop/HardwareShopClientApp/Views/_ViewImports.cshtml @@ -1,3 +1,3 @@ -@using HardwareShopClientApp -@using HardwareShopClientApp.Models +@using HardwareShopStorekeeperApp +@using HardwareShopStorekeeperApp.Models @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers