diff --git a/Converter.Presentation.Web.Api/Startup.cs b/Converter.Presentation.Web.Api/Startup.cs index 52da296..9400eee 100644 --- a/Converter.Presentation.Web.Api/Startup.cs +++ b/Converter.Presentation.Web.Api/Startup.cs @@ -28,7 +28,7 @@ public void ConfigureServices(IServiceCollection services) { services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2); - services.AddScoped(); + services.AddSingleton(); } // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.