Пример #1
0
 public LotteryResultService(IEnumerable <ILotteryResultRepository> resultRepos,
                             IOpenService openService, ILogger <LotteryResultService> logger,
                             IConfiguration config)
 {
     this._logger     = logger;
     this.resultRepo  = resultRepos.FirstOrDefault(x => x.DBType == config["DBType"]);
     this.openService = openService;
 }
Пример #2
0
 public OpenBiz(IOpenService openService, IDiagnosticoDal diagnosticoDal, ISmpService smpService, IOutageService outageService, IDtbService dtbService)
 {
     this.openService    = openService;
     this.diagnosticoDal = diagnosticoDal;
     this.smpService     = smpService;
     this.outageService  = outageService;
     this.dtbService     = dtbService;
 }
Пример #3
0
 public DemoService
 (
     IBaseRepository baseRepository,
     IOpenService openService,
     ILogger <DemoService> logger
 )
 {
     _baseRepository = baseRepository;
     _openService    = openService;
     _logger         = logger;
 }