Пример #1
0
 public CalculateAHPScores(
     IUnitOfWorkFactory unitOfWorkFactory,
     IAlternativeRepository alternativeRepository,
     IAlternativeComparisonRepository alternativeComparisonRepo,
     ICriterionRepository criterionRepository,
     ICriteriaComparisonRepository criteriaComparisonRepo,
     IAHPService AHPService)
 {
     _unitOfWorkFactory         = unitOfWorkFactory;
     _alternativeRepository     = alternativeRepository;
     _alternativeComparisonRepo = alternativeComparisonRepo;
     _criterionRepository       = criterionRepository;
     _criteriaComparisonRepo    = criteriaComparisonRepo;
     _AHPService = AHPService;
 }
 public CriteriaComparisonService(ICriteriaComparisonRepository criteriaComparisonRepository, IUnitOfWorkFactory unitOfWorkFactory)
 {
     _criteriaComparisonRepository = criteriaComparisonRepository;
     _unitOfWorkFactory            = unitOfWorkFactory;
 }