示例#1
0
 public CommonService(ITaskRepository taskRepository, UserContext userContext, ILogRepository logRepository,
                      LogModelFactory logModelFactory, IRequestorRepository requestorRepository, IUserRepository userRepository,
                      UserModelFactory userModelFactory, ApplicantSkillModelFactory applicantSkillModelFactory,
                      SkillModelFactory skillModelFactory, SuggestionModelFactory suggestionModelFactory,
                      IServiceLineRepository serviceLineRepository, ServiceLineModelFactory serviceLineModelFactory,
                      ITaskTypeRepository taskTypeRepository, TaskTypeModelFactory taskTypeModelFactory, OfferingModelFactory offeringModelFactory, UserPointsModelFactory userPointsModelFactory,
                      ApprovedApplicantModelFactory approvedApplicantModelFactory, PortfolioModelFactory portfolioModelFactory, IOfferingRepository offeringRepository,
                      IApprovedApplicantRepository approvedApplicantRepository, IPortfolioRepository portfolioRepository, IUserPointsRepository userPointsRepository)
 {
     _taskRepository                = taskRepository;
     _logModelFactory               = logModelFactory;
     _userContext                   = userContext;
     _logRepository                 = logRepository;
     _requestorRepository           = requestorRepository;
     _userRepository                = userRepository;
     _userModelFactory              = userModelFactory;
     _applicantSkillModelFactory    = applicantSkillModelFactory;
     _skillModelFactory             = skillModelFactory;
     _suggestionModelFactory        = suggestionModelFactory;
     _serviceLineRepository         = serviceLineRepository;
     _serviceLineModelFactory       = serviceLineModelFactory;
     _taskTypeModelFactory          = taskTypeModelFactory;
     _taskTypeRepository            = taskTypeRepository;
     _offeringModelFactory          = offeringModelFactory;
     _portfolioModelFactory         = portfolioModelFactory;
     _offeringRepository            = offeringRepository;
     _portfolioRepository           = portfolioRepository;
     _approvedApplicantRepository   = approvedApplicantRepository;
     _approvedApplicantModelFactory = approvedApplicantModelFactory;
     _userPointsModelFactory        = userPointsModelFactory;
     _userPointsRepository          = userPointsRepository;
 }
 public OfferingService(IOfferingRepository offeringRepository, IInquiryService inquiryService, IUserService userService)
 {
     _offeringRepository = offeringRepository;
     _inquiryService     = inquiryService;
     _userService        = userService;
 }
示例#3
0
 public UserModelFactory(IOfferingRepository offeringRepository)
 {
     _offeringRepository = offeringRepository;
 }
示例#4
0
 /// <summary>
 /// The constructor for offering service.
 /// </summary>
 /// <param name="offeringRepository">The repository for injection</param>
 public OfferingService(IOfferingRepository offeringRepository) : base(offeringRepository)
 {
     _offeringRepository = offeringRepository;
 }
示例#5
0
 public OfferingsController(IMapper mapper, IOfferingRepository repository, IUnitOfWork unitOfWork)
 {
     this.unitOfWork = unitOfWork;
     this.repository = repository;
     this.mapper     = mapper;
 }