public WalletsController( ITransferService transferService, IWalletManagementService walletManagementService, IMapper mapper) { _transferService = transferService; _walletManagementService = walletManagementService; _mapper = mapper; }
public ReexController(IWalletManagementService walletManagementService, IMemoryCache memoryCache, IConfiguration configuration, IFirebaseDbService firebaseDbService) { this.walletManagementService = walletManagementService; this.memoryCache = memoryCache; this.cacheEntryOptions = new MemoryCacheEntryOptions() .SetAbsoluteExpiration(TimeSpan.FromMinutes(int.Parse(configuration["CacheExpiryInMinutes"] ?? "60"))); this.firebaseDbService = firebaseDbService; this.issuer = configuration["MyCompany"]; this.twoFactorAuth = new TwoFactorAuth(issuer); }
public TransferService( string tokenSymbol, ICustomerProfileClient customerProfileClient, IPrivateBlockchainFacadeClient blockchainFacadeClient, IWalletManagementService walletManagementService, ITransfersRepository transfersRepository, IRabbitPublisher <P2PTransferEvent> p2PTransferEventPublisher, IEmailNotificationsPublisher emailsPublisher, IPushNotificationsPublisher pushNotificationsPublisher, ILogFactory logFactory) { _customerProfileClient = customerProfileClient; _blockchainFacadeClient = blockchainFacadeClient; _walletManagementService = walletManagementService; _transfersRepository = transfersRepository; _p2PTransferEventPublisher = p2PTransferEventPublisher; _tokenSymbol = tokenSymbol; _emailsPublisher = emailsPublisher; _pushNotificationsPublisher = pushNotificationsPublisher; _log = logFactory.CreateLog(this); }