Exemple #1
0
 public AlternativeService(
     IAlternativeRepository altRepo,
     IUnitOfWorkFactory unitOfWorkFactory
     )
 {
     _altRepo           = altRepo;
     _unitOfWorkFactory = unitOfWorkFactory;
 }
Exemple #2
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 AlternativeService(IAlternativeRepository alternativeRepository, IProjectRepository projectRepository, IUnitOfWorkFactory uowFactory)
 {
     this._alternativeRepository = alternativeRepository;
     this._projectRepository     = projectRepository;
     this._uowFactory            = uowFactory;
 }