コード例 #1
0
 public PaymentRequestController(
     RequestrContext dbContext,
     IOptions <MailConfiguration> mailConfig,
     EmailService emailService)
 {
     this.dbContext    = dbContext;
     this.mailConfig   = mailConfig.Value;
     this.emailService = emailService;
 }
コード例 #2
0
 public UserController(
     ILogger <UserController> logger,
     RequestrContext dbContext,
     TokenService tokenService,
     BunqInitializer initializer,
     EmailService emailService,
     IOptions <MailConfiguration> mailConfig)
 {
     this.logger       = logger;
     this.dbContext    = dbContext;
     this.tokenService = tokenService;
     this.initializer  = initializer;
     this.emailService = emailService;
     this.mailConfig   = mailConfig.Value;
 }
コード例 #3
0
 public TransactionController(ILogger <UserController> logger, RequestrContext dbContext, TransactionReader reader)
 {
     this.logger    = logger;
     this.dbContext = dbContext;
     this.reader    = reader;
 }