public CsrInformationService(IOptions <CsrInformationOptions> options, ILogger <CsrInformationService> logger) { _options = options.Value; _logger = logger; logger.LogInformation("Entered the CsrInformationService constructor."); }
public EmployeeController(IEmployeeService employeeService, IOptions <CsrInformationOptions> info) { _employeeService = employeeService; _csrInformation = info.Value; }