services.AddDbContext<Projet_AdoNetContext>(options => options.UseSqlServer(Configuration.GetConnectionString("ProjetADONet"))); code example
Example: services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("ProjetADONet")));
services.AddDbContext(options => options.UseSqlServer(Configuration.GetConnectionString("ProjetADONet")));