Exemple #1
0
 public ApiController(ILogger <ApiController> logger,
                      IHeaderService headerService,
                      IOpenLibraryApiService openLibraryApiService)
 {
     _logger                = logger;
     _headerService         = headerService;
     _openLibraryApiService = openLibraryApiService;
 }
Exemple #2
0
        public HeaderService(
            ICategoryRepository categoryRepository,
            IHeaderRepository headerRepository,
            IPostRatingRepository postRatingRepository,
            IOpenLibraryApiService openLibraryApiService,
            ILogRepository logRepository,
            IPostService postService,
            IUserService userService)
        {
            _categoryRepository   = categoryRepository;
            _headerRepository     = headerRepository;
            _postRatingRepository = postRatingRepository;

            _logRepository         = logRepository;
            _openLibraryApiService = openLibraryApiService;

            _postService = postService;
            _userService = userService;
        }