public LightningController( BTCPayService btcpayService, WalletService walletService) { _btcpayService = btcpayService; _walletService = walletService; }
public UserService( ILogger <UserService> logger, IDbContextFactory <ApplicationDbContext> dbContextFactory, BTCPayService btcpayService) { _logger = logger; _dbContextFactory = dbContextFactory; _btcpayService = btcpayService; }
public WalletService( IWebHostEnvironment env, ILogger <WalletService> logger, IHubContext <TransactionHub> transactionHub, BTCPayService btcpayService, IDbContextFactory <ApplicationDbContext> dbContextFactory) { _logger = logger; _btcpayService = btcpayService; _dbContextFactory = dbContextFactory; _transactionHub = transactionHub; // TODO: Configure network properly _network = env.IsDevelopment() ? Network.RegTest : Network.Main; }