public ActionResult GetHistoricalRequisitions() { int departmentId = Convert.ToInt32(RouteData.Values["departmentId"]); List <Request> history = RequestDao.getHistoricalRequestsByDepartment(departmentId); ViewData["History"] = history; return(View("RequisitionHistory")); }