/// <summary> /// this is the default constructor for the Skill service /// </summary> /// <param name="reportingManagerRepository">reportingManagerRepository interface object for dependency injection</param> /// <param name="employeeRepository">employeeRepository interface object for dependency injection</param> /// <param name="projectRepository">projectRepository interface object for dependency injection</param> /// <param name="departmentDesignationService">departmentDesignationService interface object for dependency injection</param> public ReportingManagerService(IReportingManagerRepository reportingManagerRepository, IEmployeeRepository employeeRepository, IProjectRepository projectRepository, IDepartmentDesignationService departmentDesignationService) { _reportingManagerRepository = reportingManagerRepository; _employeeRepository = employeeRepository; _projectRepository = projectRepository; _departmentDesignationService = departmentDesignationService; }
/// <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; }