public ActionResult Leave()
 {
     ViewBag.UserId   = User.Identity.GetUserId();
     ViewBag.Approved = leavemanagerRepo.GetEmployeeApprovedLeave(User.Identity.GetUserId());
     ViewBag.Denied   = leavemanagerRepo.GetEmployeeDeniedLeave(User.Identity.GetUserId());
     ViewBag.Pending  = leavemanagerRepo.GetEmployeePendingLeave(User.Identity.GetUserId());
     ViewBag.All      = leavemanagerRepo.GetEmployeeAllLeave(User.Identity.GetUserId());
     return(View());
 }