예제 #1
0
 public OpinionsRepository(ILogger <OpinionsRepository> logger,
                           CommentsRepository commentsRepository,
                           StoriesRepository storiesRepository)
 {
     _logger             = logger;
     _commentsRepository = commentsRepository;
     _storiesRepository  = storiesRepository;
 }
예제 #2
0
 public CommentsRepository(StoriesRepository storiesRepository, ILogger <CommentsRepository> logger)
 {
     _storiesRepository = storiesRepository;
     _logger            = logger;
 }