예제 #1
0
 public EstimatesController(
     EthereumClient ethereumClient,
     IEstimationService estimationService,
     IScoringCriterionRepository scoringCriterionRepository,
     IClock clock)
 {
     _ethereumClient             = ethereumClient;
     _estimationService          = estimationService;
     _scoringCriterionRepository = scoringCriterionRepository;
     _clock = clock;
 }
예제 #2
0
 public EstimationService(
     IScoringContractClient scoringContractClient,
     IScoringRepository scoringRepository,
     IProjectRepository projectRepository,
     IExpertRepository expertRepository,
     IClock clock,
     IScoringCriterionRepository scoringCriterionRepository,
     IScoringApplicationRepository scoringApplicationRepository)
 {
     _scoringContractClient = scoringContractClient;
     _scoringRepository     = scoringRepository;
     _projectRepository     = projectRepository;
     _expertRepository      = expertRepository;
     _clock = clock;
     _scoringCriterionRepository   = scoringCriterionRepository;
     _scoringApplicationRepository = scoringApplicationRepository;
 }