예제 #1
0
 public MemberController(ICoinDeskClient coinDeskClient, MandarinDBContext dBContext, ILogger <MemberController> logger)
 {
     _coinDeskClient = coinDeskClient;
     _dbContext      = dBContext;
     _logger         = logger;
 }
예제 #2
0
 public IncreaseBalanceJob(IServiceScopeFactory serviceScopeFactory, ICoinDeskClient coinDeskClient, ILogger <IncreaseBalanceJob> logger)
 {
     _dbContext      = serviceScopeFactory.CreateScope().ServiceProvider.GetRequiredService <MandarinDBContext>();
     _coinDeskClient = coinDeskClient;
     _logger         = logger;
 }