From b37e40caf4eeccf1cae954f58a7f0c846f6954fc Mon Sep 17 00:00:00 2001 From: ujijrujijr Date: Mon, 17 Jun 2024 21:00:11 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=D1=81=D0=BB=D0=B5=20=D1=81=D0=BB=D0=B8=D1=8F=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GarmentFactoryDatabaseImplement/GarmentFactoryDatabase.cs | 1 - GarmentFactoryRestApi/Program.cs | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/GarmentFactoryDatabaseImplement/GarmentFactoryDatabase.cs b/GarmentFactoryDatabaseImplement/GarmentFactoryDatabase.cs index 02bd7a8..d617a15 100644 --- a/GarmentFactoryDatabaseImplement/GarmentFactoryDatabase.cs +++ b/GarmentFactoryDatabaseImplement/GarmentFactoryDatabase.cs @@ -31,7 +31,6 @@ namespace GarmentFactoryDatabaseImplement public virtual DbSet Shops { get; set; } public virtual DbSet ShopTextiles { get; set; } - } public virtual DbSet Clients { set; get; } } diff --git a/GarmentFactoryRestApi/Program.cs b/GarmentFactoryRestApi/Program.cs index 27ac76b..2b19f58 100644 --- a/GarmentFactoryRestApi/Program.cs +++ b/GarmentFactoryRestApi/Program.cs @@ -13,6 +13,7 @@ builder.Logging.AddLog4Net("log4net.config"); builder.Services.AddTransient(); builder.Services.AddTransient(); builder.Services.AddTransient(); +builder.Services.AddTransient(); builder.Services.AddTransient(); builder.Services.AddTransient();