Exemplo n.º 1
0
 public VotingService(BlockchainContext dbContext, WalletService walletService, MinerService minerService,
                      P2PNetwork p2PNetwork, BlockchainCommonContext commonContext)
 {
     _dbContext     = dbContext;
     _commonContext = commonContext;
     _walletService = walletService;
     _minerService  = minerService;
     _p2PNetwork    = p2PNetwork;
 }
Exemplo n.º 2
0
 public ProfileService(BlockchainCommonContext commonContext)
 {
     _commonContext = commonContext;
 }
Exemplo n.º 3
0
 public ElectionService(BlockchainCommonContext commonDbContext, BlockchainContext dbContext, IMapper mapper)
 {
     _commonDbContext = commonDbContext;
     _dbContext       = dbContext;
     _mapper          = mapper;
 }