Ejemplo n.º 1
0
 public HomeController(TokenSaleContract contract,
                       ApplicationDbContext context,
                       IEmailSender emailSender,
                       ISlackClient slack)
 {
     _contract    = contract;
     _context     = context;
     _emailSender = emailSender;
     _slack       = slack;
 }
Ejemplo n.º 2
0
 public ExchangerController(
     ApplicationDbContext dbContext,
     TokenSaleContract contract,
     IRateStore rateStore,
     IOptions <EthSettings> options,
     Crypto crypto,
     IEmailSender emailSender)
 {
     _dbContext   = dbContext;
     _contract    = contract;
     _options     = options.Value;
     _rateStore   = rateStore;
     _crypto      = crypto;
     _emailSender = emailSender;
 }