/// <summary> /// Lists the of leave requests for employee. /// </summary> /// <param name="employeeId">The employee identifier.</param> /// <param name="message">The message.</param> /// <returns></returns> public ActionResult ListOfLeaveRequestsForEmployee(int employeeId, string message) { var viewModel = leaveRequestService.GetLeaveRequestListViewForEmployee(employeeId, message); viewModel.URL = "/Leave/ListOfLeaveRequestsForEmployee?employeeId=" + employeeId; return(this.View("ListOfLeaveRequestsForEmployee", viewModel)); }