public ActionResult MyLeave()
        {
            var employee = _userManager.GetUserAsync(User).Result;

            var leaveallocation      = _AllocationRepo.GetLeaveAllocationsByEmployee(employee.Id);
            var leaveallocationModel = _mapper.Map <List <LeaveAllocationVM> >(leaveallocation);

            var leaverequest      = _LeaveRequestRepo.GetLeaveRequestByEmployeeID(employee.Id);
            var leaverequestModel = _mapper.Map <List <LeaveRequestVM> >(leaverequest);

            var model = new MyLeaveVM
            {
                LeaveAllocations = leaveallocationModel,
                LeaveRequests    = leaverequestModel
            };

            return(View(model));
        }