Example #1
0
        public EmployeeCategoryController()
        {
            var kernel = GlobalConfiguration.Configuration.DependencyResolver as NinjectResolver;

            if (kernel != null)
            {
                _employeeCategoryService = kernel.GetService(typeof(EmployeeCategoryService)) as EmployeeCategoryService;
            }
        }
Example #2
0
 public EmployeeCategoryController(IEmployeeCategoryService employeeCategoryService,
                                   IEmployeeCategoryPropertyBindService employeeCategoryPropertyBindService,
                                   IEmployeeCategoryPropertySearchService employeeCategoryPropertySearchService,
                                   IEmployeePropertyService employeePropertyService
                                   )
 {
     _employeeCategoryService               = employeeCategoryService;
     _employeeCategoryPropertyBindService   = employeeCategoryPropertyBindService;
     _employeeCategoryPropertySearchService = employeeCategoryPropertySearchService;
     _employeePropertyService               = employeePropertyService;
 }
Example #3
0
        public UserInformationController()
        {
            var kernel = GlobalConfiguration.Configuration.DependencyResolver as NinjectResolver;

            if (kernel != null)
            {
                _userInformationService  = kernel.GetService(typeof(UserInformationService)) as UserInformationService;
                _userTypeService         = kernel.GetService(typeof(UserTypeService)) as UserTypeService;
                _roleService             = kernel.GetService(typeof(RoleService)) as RoleService;
                _employeeCategoryService = kernel.GetService(typeof(EmployeeCategoryService)) as EmployeeCategoryService;
                _employeeService         = kernel.GetService(typeof(EmployeeService)) as EmployeeService;
            }
        }
Example #4
0
 public EmployeeController(IEmployeeService EmployeeService,
                           IEmployeeSearchService EmployeeSearchService,
                           IEmployeeCategoryService EmployeeCategoryService,
                           IEmployeePropertyService EmployeePropertyService,
                           IExcelDataHaveColumnExporter dataExporter,
                           ICommandPipeProvider commandPipeProvider)
 {
     _employeeService         = EmployeeService;
     _employeeSearchService   = EmployeeSearchService;
     _employeeCategoryService = EmployeeCategoryService;
     _dataExporter            = dataExporter;
     _employeePropertyService = EmployeePropertyService;
     base.CommandPipeProvider = commandPipeProvider;
 }
Example #5
0
 public TSHoursRecordController(IEmployeeService employeeService, ITSHoursRecordService tsHoursRecordService,
                                IProjectService projectService,
                                IProjectMembershipService projectMembershipService,
                                IUserService userService,
                                ITSAutoHoursRecordService autoHoursRecordService,
                                IVacationRecordService vacationRecordService,
                                IReportingPeriodService reportingPeriodService,
                                IDepartmentService departmentService,
                                IProductionCalendarService productionCalendarService,
                                IEmployeeCategoryService employeeCategoryService, IJiraService jiraService, IOptions <JiraConfig> jiraOptions, IApplicationUserService applicationUserService) : base(employeeService,
                                                                                                                                                                                                      tsHoursRecordService, projectService, projectMembershipService, userService,
                                                                                                                                                                                                      autoHoursRecordService, vacationRecordService, reportingPeriodService, departmentService, productionCalendarService, employeeCategoryService, jiraService, jiraOptions, applicationUserService)
 {
 }
        public EmployeeController()
        {
            var kernel = GlobalConfiguration.Configuration.DependencyResolver as NinjectResolver;

            if (kernel != null)
            {
                _emplyeeService             = kernel.GetService(typeof(EmployeeService)) as EmployeeService;
                _employeeCategoryService    = kernel.GetService(typeof(EmployeeCategoryService)) as EmployeeCategoryService;
                _departmentService          = kernel.GetService(typeof(DepartmentService)) as DepartmentService;
                _designationService         = kernel.GetService(typeof(DesignationService)) as DesignationService;
                _personalInformationService = kernel.GetService(typeof(PersonalInformationService)) as PersonalInformationService;
                _countryService             = kernel.GetService(typeof(CountryService)) as CountryService;
                _rosterInformationService   = kernel.GetService(typeof(IRosterInformationService)) as RosterInformationService;
            }
        }
Example #7
0
 public QualifyingRoleRateReportGeneratorTask(IQualifyingRoleService qualifyingRoleService,
                                              IEmployeeCategoryService employeeCategoryService,
                                              IQualifyingRoleRateService qualifyingRoleRateService,
                                              IEmployeeQualifyingRoleService employeeQualifyingRoleService,
                                              IEmployeeService employeeService,
                                              IDepartmentService departmentService, IFinanceService financeService)
     : base()
 {
     _qualifyingRoleService         = qualifyingRoleService;
     _employeeCategoryService       = employeeCategoryService;
     _qualifyingRoleRateService     = qualifyingRoleRateService;
     _employeeQualifyingRoleService = employeeQualifyingRoleService;
     _employeeService   = employeeService;
     _departmentService = departmentService;
     _financeService    = financeService;
 }
Example #8
0
        public EmployeeController(IEmployeeService employeeSvc, IDepartmentService departmentSvc, IEmployeeCategoryService employeeCategorySvc)
        {
            if (employeeSvc == null)
            {
                throw new ArgumentNullException(nameof(employeeSvc));
            }
            if (departmentSvc == null)
            {
                throw new ArgumentNullException(nameof(departmentSvc));
            }
            if (employeeCategorySvc == null)
            {
                throw new ArgumentNullException(nameof(employeeCategorySvc));
            }

            _employeeSvc         = employeeSvc;
            _departmentSvc       = departmentSvc;
            _employeeCategorySvc = employeeCategorySvc;
        }
 public EmployeeCategoryController(IEmployeeCategoryService employeeCategoryService, IEmployeeService employeeService)
 {
     _employeeCategoryService = employeeCategoryService;
     _employeeService         = employeeService;
 }