devicelogic er blevet scoped
This commit is contained in:
parent
db2df2460f
commit
edb5f9f3bc
@ -26,6 +26,7 @@ namespace Api
|
|||||||
options.UseSqlite(_configuration.GetConnectionString("Database")));
|
options.UseSqlite(_configuration.GetConnectionString("Database")));
|
||||||
|
|
||||||
services.AddScoped<DbAccess>();
|
services.AddScoped<DbAccess>();
|
||||||
|
services.AddScoped<DeviceLogic>();
|
||||||
services.AddScoped<UserLogic>();
|
services.AddScoped<UserLogic>();
|
||||||
|
|
||||||
services.AddControllers();
|
services.AddControllers();
|
||||||
|
Loading…
Reference in New Issue
Block a user