Esempio n. 1
0
 public MongoDBArticleService(IMongoClient client, ArticleFactory articleFactory, IMapper mapper, IServiceScopeFactory serviceScopeFactory)
 {
     _client              = client;
     _articleFactory      = articleFactory;
     _mapper              = mapper;
     _serviceScopeFactory = serviceScopeFactory;
 }
Esempio n. 2
0
 public ArticleService(IMapper mapper, ArticleFactory articleFactory, Data data, ILogger <ArticleService> logger,
                       IServiceScopeFactory serviceScopeFactory)
 {
     _mapper              = mapper;
     _articleFactory      = articleFactory;
     _context             = data;
     _logger              = logger;
     _serviceScopeFactory = serviceScopeFactory;
 }