//var connections = _configuration.GetSection("ConnectionStrings").GetChildren().AsEnumerable(); public SecurityController(IAuthenticationService authService, InventoryContext context) { this.authService = (LdapAuthenticationService)authService; _context = context; }
public TokenController(IConfiguration config, InventoryContext context, IAuthenticationService authService) { _configuration = config; _context = context; this.authService = (LdapAuthenticationService)authService; }