Exemplo n.º 1
0
        public ContractService(
            IServiceProvider serviceProvider,
            IOrganizationService organizationService,
            IOrganizationAccountManagerService amService,
            IOrganizationProjectManagerService pmService,
            IOrganizationRecruiterService reService,
            IOrganizationMarketerService maService,
            IOrganizationContractorService coService,
            IOrganizationCustomerService cuService,
            IUserInfo userInfo,
            MultiContractEventHandler multiHandler,
            StoryEventHandlers storyEvents,
            ILogger <ContractService> logger) : base(serviceProvider)
        {
            _organizationService = organizationService;
            _amService           = amService;
            _pmService           = pmService;
            _reService           = reService;
            _maService           = maService;
            _coService           = coService;
            _cuService           = cuService;
            _userInfo            = userInfo;
            _logger = logger;

            _projectRepository    = UnitOfWork.RepositoryAsync <Project>();
            _recruitingAgreements = UnitOfWork.RepositoryAsync <RecruitingAgreement>();
            _customerAccounts     = UnitOfWork.RepositoryAsync <CustomerAccount>();

            AddEventHandler(multiHandler, storyEvents);
        }
 public OrganizationController(IOrganizationContractor contractor,
                               IOrganizationContractorService contractorService,
                               IServiceProvider provider) : base(provider)
 {
     _contractor        = contractor;
     _contractorService = contractorService;
 }
Exemplo n.º 3
0
 public ContractorController(
     IOrganizationContractorService contractorService,
     IOrganizationAccountManager accountManager,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _contractorService = contractorService;
     _accountManager    = accountManager;
 }
Exemplo n.º 4
0
 public ContractorController(
     IOrganizationContractorService contractorService,
     IAgencyOwner agencyOwner,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _contractorService = contractorService;
     _agencyOwner       = agencyOwner;
 }
Exemplo n.º 5
0
 public TimeMatrixService(AppDbContext context, IOrganizationContractorService contractorService,
                          IOrganizationRecruiterService recruiterService, IOrganizationMarketerService marketerService,
                          IOrganizationProjectManagerService projectManagerService,
                          IOrganizationAccountManagerService accountManagerService, IOrganizationCustomerService customerService,
                          IContractService contractService, IProjectService projectService, IStoryService storyService,
                          MapperConfiguration mapperConfiguration)
 {
     _mapperConfiguration   = mapperConfiguration;
     _context               = context;
     _contractorService     = contractorService;
     _recruiterService      = recruiterService;
     _marketerService       = marketerService;
     _projectManagerService = projectManagerService;
     _accountManagerService = accountManagerService;
     _customerService       = customerService;
     _contractService       = contractService;
     _projectService        = projectService;
     _storyService          = storyService;
 }
Exemplo n.º 6
0
 public PeopleController(
     IOrganizationMarketerService marketerService,
     IOrganizationRecruiterService recruiterService,
     IOrganizationProjectManagerService projectManagerService,
     IOrganizationAccountManagerService accountManagerService,
     IOrganizationCustomerService customerService,
     IOrganizationContractorService contractorService,
     IOrganizationPersonService personService,
     IOrganizationAccountManager accountManager,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _marketerService       = marketerService;
     _recruiterService      = recruiterService;
     _projectManagerService = projectManagerService;
     _accountManagerService = accountManagerService;
     _customerService       = customerService;
     _contractorService     = contractorService;
     _accountManager        = accountManager;
     _personService         = personService;
 }
Exemplo n.º 7
0
 public ContractorController(IOrganizationContractorService contractorService,
                             IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _contractorService = contractorService;
 }