Esempio n. 1
0
 public HomeController(ILogger <HomeController> logger,
                       IReadingsRepository readingsRepo,
                       ITranslationsRepository translationsRepo,
                       IReaderRepository readerRepo)
 {
     _logger           = logger;
     _readingsRepo     = readingsRepo;
     _translationsRepo = translationsRepo;
     _readerRepo       = readerRepo;
 }
Esempio n. 2
0
 public ReadingController(
     IUnitOfWork<BooksContext> unitOfWork,
     IReadingsRepository repo,  
     IBooksRepository bookRepo,
     IBookBadgeRepository badgeRepo)
 {
     _unitOfWork = unitOfWork;
     _repo = repo;
     _bookRepo = bookRepo;
     _badgeRepo = badgeRepo;
 }
Esempio n. 3
0
 public ReadingController(IReadingsRepository repository, ILogger <ReadingController> logger)
 {
     _repository = repository;
     _logger     = logger;
 }
 public StatisticsRepository(IReadingsRepository readingsRepository)
 {
     _readingsRepository = readingsRepository;
 }
Esempio n. 5
0
 public ReadScheduler(ITimerFactory timerFactory, IReadingsRepository readingsRepository)
 {
     _timerFactory       = timerFactory;
     _readingsRepository = readingsRepository;
 }