This commit is contained in:
2019-05-24 20:16:22 +01:00
parent 09b95fef54
commit 00bcf6cd39

View File

@ -71,7 +71,7 @@ namespace cli
var cxSettings = Configuration.GetSection("Connection"); var cxSettings = Configuration.GetSection("Connection");
services.Configure<ConnectionSettings>(cxSettings); services.Configure<ConnectionSettings>(cxSettings);
var smtpSettingsconf = Configuration.GetSection("Smtp"); var smtpSettingsconf = Configuration.GetSection("Smtp");
Microsoft.Extensions.CodeGenerators.Mvc.View.ViewGeneratorTemplateModel v; // TODO give it a look : Microsoft.Extensions.CodeGenerators.Mvc.View.ViewGeneratorTemplateModel v;
services.Configure<SmtpSettings>(smtpSettingsconf); services.Configure<SmtpSettings>(smtpSettingsconf);
services.Configure<GenMvcSettings>(Configuration.GetSection("gen_mvc")); services.Configure<GenMvcSettings>(Configuration.GetSection("gen_mvc"));