public Dictionary <string, List <Requisition> > GetAllPendingOrdersOfDepartment() { Dictionary <string, List <Requisition> > reqOrderDict = new Dictionary <string, List <Requisition> >(); Employee user = AuthUtil.GetCurrentLoggedUser(); if (user == null) { reqOrderDict.Add("reqList", new List <Requisition>()); } else { List <Requisition> requisitions = RequisitionDAO.GetAllPendingOrderReqs((int)user.DeptId); reqOrderDict.Add("reqList", requisitions); } return(reqOrderDict); }