示例#1
0
 public ClientController(IClientRepository clientRepository, IUpdateTimeRepository updateTimeRepository,
                         IAuthService authService)
 {
     _clientRepository     = clientRepository;
     _updateTimeRepository = updateTimeRepository;
     _authService          = authService;
 }
 public AnalysisDataService(IAnalysisResultRepository analysisRepository, IAmazonS3 amazonS3Client, Settings settings, ICategoryRepository categoryRepository, IUpdateTimeRepository updateTimeRepository, IWordCountRepository wordCountRepository)
 {
     this.analysisRepository   = analysisRepository;
     this.amazonS3Client       = amazonS3Client;
     this.wordCountRepository  = wordCountRepository;
     this.settings             = settings;
     this.updateTimeRepository = updateTimeRepository;
     this.categoryRepository   = categoryRepository;
 }
示例#3
0
 public AdminRepository(LabDayContext context, IUpdateTimeRepository updateTimeRepository)
 {
     _context = context;
     _updateTimeRepository = updateTimeRepository;
 }