public AuthController(IOptions <MonzoSettings> settings) { this.settings = settings.Value; this.authClient = new MonzoAuthorizationClient(this.settings.ClientId, this.settings.ClientSecret, this.settings.BaseUrl, this.settings.ApiSubDomain); }
public TransactionController(ITransactionService transactionService, IOptions <MonzoSettings> settings) { this.transactionService = transactionService; this.settings = settings.Value; }