Ejemplo n.º 1
0
 public UnitOfWork(IWebSearchRepository webSearchRepository, IFileSearchRepository fileSearchRepository,
                   IStatisticRepository statisticRepository, SearchStatisticDbContext searchStatisticDbContext)
 {
     WebSearchRepository  = webSearchRepository;
     FileSearchRepository = fileSearchRepository;
     StatisticRepository  = statisticRepository;
     _statisticDbContext  = searchStatisticDbContext;
 }
Ejemplo n.º 2
0
 public StatisticEfCoreRepository(SearchStatisticDbContext dbContext)
 {
     _dbContext = dbContext;
 }