Пример #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(
     IOrganizationProjectManager projectManager,
     IOrganizationProjectManagerService projectManagerService,
     IServiceProvider provider) : base(provider)
 {
     _projectManager        = projectManager;
     _projectManagerService = projectManagerService;
 }
 public ProjectManagerController(
     IOrganizationAccountManager accountManager,
     IOrganizationProjectManagerService projectManagerService,
     IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _accountManager        = accountManager;
     _projectManagerService = projectManagerService;
 }
Пример #4
0
        public ProjectService(IServiceProvider serviceProvider,
                              ICustomerAccountService accountService,
                              IUserInfo userInfo,
                              ILogger <ProjectService> logger,
                              MultiProjectEventHandler events,
                              IOrganizationProjectManagerService pmService) : base(serviceProvider)
        {
            _accountService = accountService;
            _userInfo       = userInfo;
            _logger         = logger;
            _pmService      = pmService;

            AddEventHandler(events);
        }
Пример #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;
 }
Пример #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;
 }
Пример #7
0
 public ProjectManagerController(IAgencyOwner agencyOwner, IOrganizationProjectManagerService projectManagerService, IServiceProvider serviceProvider) : base(serviceProvider)
 {
     _agencyOwner           = agencyOwner;
     _projectManagerService = projectManagerService;
 }