public LeaveAllocationController( IRepositoryLeaveType leaverepo, IRepositoryLeaveAllocation leaveallocationrepo, IMapper mapper, UserManager <Employee> userManager ) { _leaverepo = leaverepo; _leaveallocationrepo = leaveallocationrepo; _mapper = mapper; _userManager = userManager; }