public BindicatorProvider(IBinLookupServiceAgent binlookupServiceAgent, IOptions <Lookup> options) { _bindicatorServiceAgent = binlookupServiceAgent; uprn = options.Value.Uprn; }
public BindicatorController(ILogger <BindicatorController> logger, IBinLookupServiceAgent binLookupServiceAgent, IConfiguration configuration, Microsoft.Extensions.Options.IOptions <Lookup> lookup) { _logger = logger; _binLookupServiceAgent = binLookupServiceAgent; _lookup = lookup; }