Browse Source

fix web db access

Robert 1 year ago
parent
commit
bac7afa349
1 changed files with 1 additions and 0 deletions
  1. 1 0
      EVCB_OCPP.TaskScheduler/Program.cs

+ 1 - 0
EVCB_OCPP.TaskScheduler/Program.cs

@@ -36,6 +36,7 @@ namespace EVCB_OCPP.TaskScheduler
 
                     services.AddMainDbContext(context.Configuration);
                     services.AddOnlineLogDBContext(context.Configuration);
+                    services.AddWebDBConetext(context.Configuration);
 
                     services.AddTransient<ICustomerService, CommonCustomerService>();
                     services.AddSingleton<ICustomersService, CustomersService>();