stub add
continuous-integration/drone/push Build is passing Details

CI_DB_WORK
David D'ALMEIDA 1 year ago
parent 51d37a06df
commit 953ff0653a

@ -72,6 +72,8 @@ public class AppBootstrap(IConfiguration configuration)
services.AddDbContext<HeartTrackContext>(options => services.AddDbContext<HeartTrackContext>(options =>
options.UseSqlite(connectionString), ServiceLifetime.Singleton); options.UseSqlite(connectionString), ServiceLifetime.Singleton);
} }
services.AddSingleton<IDataManager>(provider => new DbDataManager(provider.GetService<HeartTrackContext>()));
break; break;
} }

Loading…
Cancel
Save