This commit is contained in:
Guilherme
2019-09-24 10:46:39 -03:00
parent 2802ef55b1
commit 34ab942f91
57 changed files with 1044 additions and 896 deletions

View File

@ -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);
}