Example #1
0
 public TransactionController(RetreatDBContext context, IOptions <PaystackConfig> paystackConfig, IRetreatEmailSender emailSender, IEmailHelper emailHelper)
 {
     _context     = context;
     _config      = paystackConfig?.Value;
     _emailSender = emailSender;
     _emailHelper = emailHelper;
 }
 public HomeController(RetreatDBContext context, IOptions <PaystackConfig> paystackConfig)
 {
     _context = context;
     _config  = paystackConfig?.Value;
 }