commented

This commit is contained in:
2019-06-18 16:41:01 +01:00
parent 982e2620c1
commit e8949bdee4

View File

@ -85,6 +85,7 @@ namespace cli
DefaultClassName = settings.ControllerName,
DefaultNamespace = settings.NameSpace }; }
);
// Well ... I'll perhaps have, one day, enough trust to use it ...
services.AddTransient(typeof(MvcGenerator), typeof(MvcGenerator));
services.AddEntityFramework().AddNpgsql().AddDbContext<ApplicationDbContext>(
db => db.UseNpgsql(ConnectionString)