From 6d1a904e1c07ba1282989d6589e6aa5568b353e1 Mon Sep 17 00:00:00 2001 From: abazov73 <92822431+abazov73@users.noreply.github.com> Date: Sun, 9 Apr 2023 18:05:24 +0400 Subject: [PATCH] Setting up dependecy injection --- .../ConstructionCompanyView/Program.cs | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/ConstructionCompany/ConstructionCompanyView/Program.cs b/ConstructionCompany/ConstructionCompanyView/Program.cs index b474788..dff3b87 100644 --- a/ConstructionCompany/ConstructionCompanyView/Program.cs +++ b/ConstructionCompany/ConstructionCompanyView/Program.cs @@ -35,7 +35,19 @@ namespace ConstructionCompanyView option.AddNLog("nlogConstruction.config"); }); services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); + services.AddTransient(); services.AddTransient(); }