mirror of
https://github.com/guilhermewerner/gerencia-projetos
synced 2025-06-16 15:05:39 +00:00
Fix Bugs
This commit is contained in:
@ -33,8 +33,10 @@ namespace GerenciaProjetos
|
||||
});
|
||||
|
||||
services.AddRouting(options => options.LowercaseUrls = true);
|
||||
|
||||
//services.AddDbContext<GerenciaContext>(options => options.UseMySql(Configuration.GetConnectionString("DefaultConnection")));
|
||||
|
||||
services.AddDbContext<GerenciaContext>(options => options.UseMySql(Configuration.GetConnectionString("DefaultConnection")));
|
||||
services.AddDbContext<GerenciaContext>(options => options.UseMySql(Configuration.GetConnectionString("LaboratConnection")));
|
||||
|
||||
services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_2);
|
||||
}
|
||||
|
Reference in New Issue
Block a user