예제 #1
0
 public FinanceService(ApplicationContext dbContext, IOptions <FinanceOptions> options)
 {
     _dbContext      = dbContext;
     _financeOptions = options.Value;
 }
예제 #2
0
 public FinanceController(IOptions <FinanceOptions> financeOptions)
 {
     _financeOptions = financeOptions.Value;
 }