Пример #1
0
 public Task(ITaskRepository taskRepository, TaskModelFactory taskModelFactory, TaskSkillModelFactory taskSkillModelFactory, SkillModelFactory skillModelFactory, ICommonService commonService, IEmailTrackerService emailTrackerService)
 {
     _taskRepository        = taskRepository;
     _taskModelFactory      = taskModelFactory;
     _taskSkillModelFactory = taskSkillModelFactory;
     _skillModelFactory     = skillModelFactory;
     _commonService         = commonService;
     _emailTrackerService   = emailTrackerService;
 }
Пример #2
0
 public ContributorService(ITaskRepository taskRepository, ICommonService commonService, IContributorRepository contributorRepository, TaskSkillModelFactory taskSkillModelFactory, TaskModelFactory taskModelFactory, ApprovedApplicantModelFactory approvedApplicantModelFactory, IUserRepository userRepository, IEmailTrackerService emailTrackerService)//, TaskModelFactory taskModelFactory, IRequestorRepository requestorRepository, ApplicantModelFactory applicantModelFactory, ApprovedContributorModelFactory approvedContributorModelFactory, ICommonService commonService, TaskApplicantModelFactory taskApplicantModelFactory, ApprovedApplicantModelFactory approvedApplicantModelFactory, IUserRepository userRepository)
 {
     _taskRepository                = taskRepository;
     _contributorRepository         = contributorRepository;
     _taskSkillModelFactory         = taskSkillModelFactory;
     _taskModelFactory              = taskModelFactory;
     _approvedApplicantModelFactory = approvedApplicantModelFactory;
     //_requestorRepository = requestorRepository;
     //_applicantModelFactory = applicantModelFactory;
     //_approvedContributorModelFactory = approvedContributorModelFactory;
     _commonService = commonService;
     //_taskApplicantModelFactory = taskApplicantModelFactory;
     _approvedApplicantModelFactory = approvedApplicantModelFactory;
     _userRepository      = userRepository;
     _emailTrackerService = emailTrackerService;
 }