public PaymentsController(IOptions <AppStaticValues> appValues, PaymentsContext context) { _dbContext = context; _appValues = appValues.Value; }
public AuthorizationFilter(RequestDelegate next, IOptions <AppStaticValues> stat) { _appStaticValues = stat.Value; _next = next; }