From cf486ae9cfb0ced46e3b80f92924c72b08abf430 Mon Sep 17 00:00:00 2001 From: "a.puchkina" Date: Wed, 29 May 2024 12:53:16 +0400 Subject: [PATCH] =?UTF-8?q?=D1=81=D0=B8=D0=BD=D0=B3=D0=BB=D0=B5=D1=82?= =?UTF-8?q?=D0=BE=D0=BD!?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- LawFim/LawFirmRestApi/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LawFim/LawFirmRestApi/Program.cs b/LawFim/LawFirmRestApi/Program.cs index dffd5de..aef144f 100644 --- a/LawFim/LawFirmRestApi/Program.cs +++ b/LawFim/LawFirmRestApi/Program.cs @@ -46,7 +46,7 @@ builder.Services.AddTransient(); builder.Services.AddTransient(); builder.Services.AddTransient(); -builder.Services.AddTransient(); +builder.Services.AddSingleton(); builder.Services.AddControllers(); // Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbuckle