/// <summary> /// Lists the of leave requests for hr admin. /// </summary> /// <param name="leaveStatusId">The leave status identifier.</param> /// <param name="message">The message.</param> /// <returns></returns> public ActionResult ListOfLeaveRequestsForHRAdmin(int?leaveStatusId, string message = "") { var viewModel = leaveRequestService.GetLeaveRequestListViewForHRAdmin(leaveStatusId ?? -1, message); viewModel.URL = "/Leave/ListOfLeaveRequestsForHRAdmin"; return(View("HRLeaveRequestListView", viewModel)); }