/// <summary>
 /// this is the default constructor for the DepartmentDesignation service class
 /// </summary>
 /// <param name="departmentDesignationRepository">departmentDesignation repository object for dependency injection</param>
 /// <param name="designationRepository">designation repository object for dependency injection</param>
 public DepartmentDesignationService(IDepartmentDesignationRepository departmentDesignationRepository, IDesignationRepository designationRepository, IDepartmentRepository departmentRepository, IMapper mapper)
 {
     _departmentDesignationRepository = departmentDesignationRepository;
     _designationRepository           = designationRepository;
     _departmentRepository            = departmentRepository;
     _mapper = mapper;
 }
 /// <summary>
 /// this is the default constructor for level controller
 /// </summary>
 public LevelService(ILevelRepository levelRepository, IDepartmentDesignationRepository departmentDesignationRepository, IFeatureRepository featureRepository, IDesignationRepository designationRepository, IDepartmentRepository departmentRepository, IDesignationLevelRepository designationLevelRepository)
 {
     _levelRepository = levelRepository;
     _departmentDesignationRepository = departmentDesignationRepository;
     _featureRepository          = featureRepository;
     _designationRepository      = designationRepository;
     _departmentRepository       = departmentRepository;
     _designationLevelRepository = designationLevelRepository;
 }
        /// <summary>
        /// this is the default constructor for the Employee service class
        /// </summary>
        /// <param name="unityContainer">object of unity container interface for dependency injection </param>
        public EmployeeService(IEmployeeRepository employeeRepository, IDepartmentDesignationRepository departmentDesignationRepository,
                               IEmployeeSkillsRepository employeeSkillRepository, ISkillRepository skillRepository /*IAWSServices aWSServices*/, IProjectManagementRepository projectManagementRepository, IProjectRequirementsRepository projectRequirementsRepository,
                               IProjectRepository projectRepository, IConfiguration configuration, IMapper mapper, IReportingManagerRepository reportingManagerRepository, IElasticSearchService elasticSearchService)

        {
            _employeeRepository = employeeRepository;
            _departmentDesignationRepository = departmentDesignationRepository;
            _employeeSkillRepository         = employeeSkillRepository;
            _skillRepository               = skillRepository;
            _projectManagementRepository   = projectManagementRepository;
            _projectRequirementsRepository = projectRequirementsRepository;
            _projectRepository             = projectRepository;
            _configuration = configuration;
            _mapper        = mapper;
            _reportingManagerRepository = reportingManagerRepository;
            _elasticSearchService       = elasticSearchService;
            totalRecords      = 0;
            returnedRecords   = 0;
            currentPageNumber = 0;
        }
Exemple #4
0
 /// <summary>
 /// this is the default constructor for the department service class and used for repository and serivces dependency Injection
 /// </summary>
 /// <param name="departmentRepository">department repository object</param>
 /// <param name="departmentDesignationRepository">department designation repository object for dependency injection</param>
 public DepartmentService(IDepartmentRepository departmentRepository, IDepartmentDesignationRepository departmentDesignationRepository, IDesignationService designationService)
 {
     _departmentRepository            = departmentRepository;
     _departmentDesignationRepository = departmentDesignationRepository;
     _designationService = designationService;
 }