Пример #1
0
 public SoftService(AyDbContext context,
                    IHttpClientFactory clientFactory,
                    ILogger <SoftService> logger)
 {
     _context    = context;
     _httpClient = clientFactory.CreateClient("torrentSoft");
     _logger     = logger;
 }
 public DriverService(AyDbContext ayDbContext,
                      IImghostService imghostService,
                      IImgsConverterService imgsConverterService,
                      ILogger <DriverService> logger)
 {
     _context        = ayDbContext;
     _imghostService = imghostService;
     _imgsConverter  = imgsConverterService;
     _logger         = logger;
 }
 public UIContentService(AyDbContext ayDbContext,
                         IRutorService rutorService,
                         INnmclubService nnmclubService,
                         IDriverService driverService,
                         ISoftService softService,
                         ILogger <EveningWorkService> logger)
 {
     _context        = ayDbContext;
     _rutorService   = rutorService;
     _nnmclubService = nnmclubService;
     _driverService  = driverService;
     _softService    = softService;
     _logger         = logger;
 }
Пример #4
0
 public NnmclubService(AyDbContext ayDbContext,
                       ILogger <NnmclubService> logger)
 {
     _context = ayDbContext;
     _logger  = logger;
 }
 public RutorService(AyDbContext ayDbContext,
                     ILogger <RutorService> logger)
 {
     _context = ayDbContext;
     _logger  = logger;
 }
Пример #6
0
 public UserService(AyDbContext ayDbContext,
                    IOptions <JWTSettings> options)
 {
     _context   = ayDbContext;
     _jwtSecret = options.Value;
 }