public LeaveHistoryController(ILeaveHistoryRepository leaveHistoryRepo, IMapper mapper, ILeaveAllocationRepository leaveAllocationRepo, ILeaveTypeRepository leaveTypeRepo, UserManager <Employee> userManager) { _leaveHistoryRepo = leaveHistoryRepo; _leaveAllocationRepo = leaveAllocationRepo; _leaveTypeRepo = leaveTypeRepo; _mapper = mapper; _userManager = userManager; }
public LeaveHistoryService(ILeaveHistoryRepository leaveHistoryRepository) { _ILeaveHistoryRepository = leaveHistoryRepository; }