public FinanceService(ApplicationContext dbContext, IOptions <FinanceOptions> options) { _dbContext = dbContext; _financeOptions = options.Value; }
public FinanceController(IOptions <FinanceOptions> financeOptions) { _financeOptions = financeOptions.Value; }