Пример #1
0
        public ProfileController(IAccessRuleRepository accessRuleRepository,
                                 IUserRepository userRepository,
                                 IUserSkillRepository userSkillRepository,
                                 IUserCertificationRepository userCertificationRepository,
                                 IUserDocumentRepository userDocumentRepository,
                                 IUserHobbyRepository userHobbyRepository,
                                 ILinkedAccountRepository linkedAccountRepository,
                                 IRoleMemberRepository roleMemberRepository,
                                 IAssetRepository assetRepository,
                                 ILeaveEntitlementRepository leaveEntitlementRepository,
                                 IProjectMemberRepository projectMemberRepository,
                                 IUserTechnologyMapRepository userTechnologyMapRepository,
                                 IEmergencyContactRepository emergencyContactRepository,
                                 IEmployeeDependentRepository employeeDependentRepository,
                                 IUserAwardRepository userAwardRepository,
                                 ITokenRepository tokenRepository,
                                 IAwardRepository awardRepository,
                                 ITechnologyRepository technologyRepository,
                                 ISkillRepository skillRepository,
                                 IHobbyRepository hobbyRepository,
                                 ICertificationRepository certificationRepository,
                                 ISystemSnapshotRepository systemSnapshotRepository,
                                 ISettingsService settingsService,
                                 IEmployeeRepository employeeRepository,
                                 IUnitOfWork unitOfWork)
        {
            _accessRuleRepository        = accessRuleRepository;
            _userRepository              = userRepository;
            _userSkillRepository         = userSkillRepository;
            _userCertificationRepository = userCertificationRepository;
            _userDocumentRepository      = userDocumentRepository;
            _userHobbyRepository         = userHobbyRepository;

            _roleMemberRepository        = roleMemberRepository;
            _leaveEntitlementRepository  = leaveEntitlementRepository;
            _assetRepository             = assetRepository;
            _projectMemberRepository     = projectMemberRepository;
            _userTechnologyMapRepository = userTechnologyMapRepository;
            _emergencyContactRepository  = emergencyContactRepository;
            _employeeDependentRepository = employeeDependentRepository;
            _tokenRepository             = tokenRepository;
            _awardRepository             = awardRepository;
            _systemSnapshotRepository    = systemSnapshotRepository;
            _userAwardRepository         = userAwardRepository;

            _technologyRepository    = technologyRepository;
            _skillRepository         = skillRepository;
            _hobbyRepository         = hobbyRepository;
            _certificationRepository = certificationRepository;
            _employeeRepository      = employeeRepository;
            _linkedAccountRepository = linkedAccountRepository;
            _settingsService         = settingsService;
            _unitOfWork = unitOfWork;
        }
Пример #2
0
 public UsersController(ISettingsService settingsService,
                        IAccessRuleRepository accessRuleRepository,
                        IUserRepository userRepository,
                        IUserSkillRepository userSkillRepository,
                        IUserCertificationRepository userCertificationRepository,
                        IDepartmentRepository departmentRepository,
                        IDesignationRepository designationRepository,
                        ILocationRepository locationRepository,
                        IShiftRepository shiftRepository,
                        IRoleRepository roleRepository,
                        IRoleMemberRepository roleMemberRepository,
                        IAssetRepository assetRepository,
                        ILeaveEntitlementRepository leaveEntitlementRepository,
                        IProjectMemberRepository projectMemberRepository,
                        IUserTechnologyMapRepository userTechnologyMapRepository,
                        IEmergencyContactRepository emergencyContactRepository,
                        IEmployeeDependentRepository employeeDependentRepository,
                        IUserAwardRepository userAwardRepository,
                        ITokenRepository tokenRepository,
                        IAwardRepository awardRepository,
                        ITechnologyRepository technologyRepository,
                        ISkillRepository skillRepository,
                        IHobbyRepository hobbyRepository,
                        IUserHobbyRepository userHobbyRepository,
                        ICertificationRepository certificationRepository,
                        ISystemSnapshotRepository systemSnapshotRepository,
                        IUserDocumentRepository userDocumentRepository,
                        IUnitOfWork unitOfWork)
 {
     _userRepository              = userRepository;
     _userSkillRepository         = userSkillRepository;
     _userCertificationRepository = userCertificationRepository;
     _roleMemberRepository        = roleMemberRepository;
     _userTechnologyMapRepository = userTechnologyMapRepository;
     _userHobbyRepository         = userHobbyRepository;
     _unitOfWork = unitOfWork;
 }
 public EmployeeDependentService(IEmployeeDependentRepository repository)
 {
     _repository = repository;
 }
Пример #4
0
 public EmployeeDependentsController(IEmployeeDependentRepository employeeDependentRepository,
                                     IUnitOfWork unitOfWork)
 {
     _employeeDependentRepository = employeeDependentRepository;
     _unitOfWork = unitOfWork;
 }