public LeaveTypeController() { _departmentServices = new DepartmentService(); _designationServices = new DesignationService(); _moduleService = new ModuleService(); _officeService = new OfficeServices(); _bgService = new BusinessGroupService(); _leaveTypeService = new LeaveTypeService(); _leaveRuleService = new LeaveRuleService(); _leaveRuleDetailService = new LeaveRuleDetailService(); _levelService = new LevelService(); _darbandiService = new DarbandiService(); _officeTypeService = new OfficeTypeService(); _rankService = new RankService(); _rolesService = new RolesService(); _roleAccessService = new RolesAccessService(); _leaveYearService = new LeaveYearService(); _sectionService = new SectionService(); _shifService = new ShiftService(); _shiftDayService = new ShiftDayService(); _ethnicityService = new EthnicityService(); _jobTypeService = new JobTypeService(); _educationLevelService = new EducationLevelService(); _rolesBusinessGroupAccessService = new RolesBusinessGroupAccessService(); _fiscalService = new FiscalService(); }
public LeaveTypeController(ILeaveTypeService leaveTypeService, IDataProtectionProvider dataProtectionProvider, DataProtecionPurposeStrings dataProtecionPurposeStrings) { this.leaveTypeService = leaveTypeService; protector = dataProtectionProvider.CreateProtector(dataProtecionPurposeStrings.EmployeeIdRouteValue); }
public SpecialLeaveTypeService(IUnitOfWork unitOfWork = null, LeaveTypeService leavetypeService = null) { _unitOfWork = unitOfWork ?? new UnitOfWork(); _leavetypeService = leavetypeService ?? new LeaveTypeService(); _employeeServices = new EmployeeService(); _officeService = new OfficeServices(); _employeeservice = new EmployeeService(); }
public EmployeeLeaveRequestController() { var kernel = GlobalConfiguration.Configuration.DependencyResolver as NinjectResolver; if (kernel != null) { _employeeLeaveRequestService = kernel.GetService(typeof(EmployeeLeaveRequestService)) as EmployeeLeaveRequestService; _leaveTypeService = kernel.GetService(typeof(ILeaveTypeService)) as LeaveTypeService; _leaveApprovalStatusService = kernel.GetService(typeof(ILeaveApprovalStatusService)) as LeaveApprovalStatusService; _employeeService = kernel.GetService(typeof(IEmployeeService)) as EmployeeService; _employeeLeaveInformationService = kernel.GetService(typeof(IEmployeeLeaveInformationService)) as IEmployeeLeaveInformationService; } }
public LeaveYearlyReportController() { _leaveServices = new LeaveApplicationService(); _moduleService = new ModuleService(); _employeeServices = new EmployeeService(); _notifications = new NotificationService(); _officeServices = new OfficeServices(); _leaveRuleService = new LeaveRuleService(); _leaveRuleDetailService = new LeaveRuleDetailService(); _leaveTypeService = new LeaveTypeService(); _leaveAssigned = new LeaveAssignServices(); _leaveEarnedService = new LeaveEarnedService(); }
public LeaveTypeController(ILeaveTypeService service) { _service = service; }
public ReportsServices(IUnitOfWork unitOfWork = null) { _unitOfWork = unitOfWork ?? new UnitOfWork(); _leave = new LeaveTypeService(); }
public LeaveTypeController(ApplicationDbContext context, ILeaveTypeService LeaveTypeService) { _context = context; _LeaveTypeService = LeaveTypeService; }
public LeaveTypeController(ILeaveTypeService _leaveTypeService) { this._leaveTypeService = _leaveTypeService; }
public LeaveTypeController(ILeaveTypeService leaveTypeService, ISubModuleItemService subModuleItemService, IRoleSubModuleItemService roleSubModuleItemService) { this.leaveTypeService = leaveTypeService; this.subModuleItemService = subModuleItemService; this.roleSubModuleItemService = roleSubModuleItemService; }
public LeaveTypeController(ILeaveTypeService leaveTypeService) { this.leaveTypeService = leaveTypeService; }
public LeaveTypeController(ILeaveTypeService leaveTypeService) { _leaveTypeService = leaveTypeService ?? throw new ArgumentNullException(nameof(leaveTypeService)); }
public LeaveTypesController(ILeaveTypeService _iLeaveTypesService) { iLeaveTypesService = _iLeaveTypesService; }