예제 #1
0
 public UnitOfWork(IWebSearchRepository webSearchRepository, IFileSearchRepository fileSearchRepository,
                   IStatisticRepository statisticRepository, SearchStatisticDbContext searchStatisticDbContext)
 {
     WebSearchRepository  = webSearchRepository;
     FileSearchRepository = fileSearchRepository;
     StatisticRepository  = statisticRepository;
     _statisticDbContext  = searchStatisticDbContext;
 }
예제 #2
0
 public StatisticEfCoreRepository(SearchStatisticDbContext dbContext)
 {
     _dbContext = dbContext;
 }