public async Task <IActionResult> ApprovedHistory(bool isMore = false)
        {
            string user        = User.FindFirst("Index").Value;
            var    Currentuser = await _taskRepository.GetCurrentUser(user);

            ViewBag.photo = Currentuser.PhotoURL;

            int EmpId = Currentuser.EmpId;

            ViewBag.IsMore = isMore;
            var data = await _leaveRepository.GetApprovedLeaveById(EmpId);

            return(View(data));
        }