예제 #1
0
 public WeightSubmitService(
     IServiceScopeFactory scopeFactory,
     ILogger <WeightSubmitService> logger,
     IOptions <WeightSubmitOptions> submitOptions,
     IGoogleSheetsService googleSheets,
     IOptions <WeightResultOptions> resultDatabase,
     IClanLoader clanLoader)
 {
     this.scopeFactory   = scopeFactory;
     this.logger         = logger;
     this.submitOptions  = submitOptions;
     this.googleSheets   = googleSheets;
     this.resultDatabase = resultDatabase;
     this.clanLoader     = clanLoader;
 }
예제 #2
0
 public ClansController(
     ApplicationDbContext db,
     IClashApi api,
     ILogger <ClansController> logger,
     IGoogleSheetsService googleSheets,
     IClanLoader clanLoader,
     IOptions <WeightResultOptions> resultDatabase,
     WeightSubmitService submitService
     )
 {
     this.db             = db;
     this.api            = api;
     this.logger         = logger;
     this.googleSheets   = googleSheets;
     this.clanLoader     = clanLoader;
     this.resultDatabase = resultDatabase;
     this.submitService  = submitService;
 }