public IActionResult LeaveRequestView(DateTime LeaveFromDate, DateTime LeaveToDate, string Status) { List <LeaveRequest> leave = leaveRequestRepository.GetStatus(LeaveFromDate, LeaveToDate, Status); return(View(leave)); }