Ejemplo n.º 1
0
 public LeaveService(ILeaveTypeRepository leaveTypeRepository,
                     ILeaveEntitlmentRepository leaveEntitlmentRepository,
                     ILeavePeriodRepository leavePeriodRepository,
                     IEmployeeRepository employeeRepository,
                     ILeaveRepository leaveRepository,
                     ILeaveRequestRepository leaveRequestRepository)
 {
     _leaveTypeRepository       = leaveTypeRepository;
     _leaveEntitlmentRepository = leaveEntitlmentRepository;
     _leavePeriodRepository     = leavePeriodRepository;
     _employeeRepository        = employeeRepository;
     _leaveRepository           = leaveRepository;
     _leaveRequestRepository    = leaveRequestRepository;
 }
Ejemplo n.º 2
0
 public LeavePeriodService(ILeavePeriodRepository repository)
 {
     _repository = repository;
 }