public DbContext CreateDbContext() { DbContextOptionsBuilder <NavtrackDbContext> optionsBuilder = new DbContextOptionsBuilder <NavtrackDbContext>(); connectionStringProvider.ApplyConnectionString(optionsBuilder); return(new NavtrackDbContext(optionsBuilder.Options)); }