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; }
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; }
public DemoService ( IBaseRepository baseRepository, IOpenService openService, ILogger <DemoService> logger ) { _baseRepository = baseRepository; _openService = openService; _logger = logger; }