AddZero extension method with section configuration

This commit is contained in:
2020-04-05 00:29:26 +02:00
parent 3fadbe2177
commit ceb060343f
7 changed files with 98 additions and 2 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Identity;
using Microsoft.AspNetCore.Mvc;
using System;
using System.Linq;
@@ -21,7 +22,7 @@ namespace zero.Web.Setup
protected IWebHostEnvironment Environment { get; private set; }
public SetupController(IZeroConfiguration config, ISetupApi api, IWebHostEnvironment env) : base(config)
public SetupController(IZeroConfiguration config, ISetupApi api, IWebHostEnvironment env) : base(config) // UserManager<User> userManager
{
Api = api;
Environment = env;