public OpinionsRepository(ILogger <OpinionsRepository> logger, CommentsRepository commentsRepository, StoriesRepository storiesRepository) { _logger = logger; _commentsRepository = commentsRepository; _storiesRepository = storiesRepository; }
public CommentsRepository(StoriesRepository storiesRepository, ILogger <CommentsRepository> logger) { _storiesRepository = storiesRepository; _logger = logger; }