public ManagePermissionController( IConfiguration _configuration, IHttpContextAccessor httpContextAccessor) { _httpContextAccessor = httpContextAccessor; configuration = _configuration; handlerAuth = new Handler_Auth(configuration); }
public AuthorizationController( //IOptions<IdentityOptions> identityOptions, //SignInManager<ApplicationUser> signInManager, //UserManager<ApplicationUser> userManager, IConfiguration _configuration, IHttpContextAccessor httpContextAccessor) { //_identityOptions = identityOptions; //_signInManager = signInManager; //_userManager = userManager; _httpContextAccessor = httpContextAccessor; configuration = _configuration; handlerAuth = new Handler_Auth(configuration); }