public Startup(IConfiguration configuration) { Configuration = configuration; MigrationProvider.Register(Configuration.GetSection("ConnectionStrings:DbContext").Value); }
public Startup(IConfiguration configuration, IWebHostEnvironment environment) { Configuration = configuration; Environment = environment; MigrationProvider.Register(Configuration.GetSection("ConnectionStrings:DbContext").Value); }