// method to get all Status == Approved Requisitions from employees
        public List <Requisition> RetrieveAllApprovedRequisitionsByEmployeeList(List <Employee> employeeList)
        {
            List <Requisition> approvedRequisitionList = new List <Requisition>();

            foreach (Employee em in employeeList)
            {
                List <Requisition> requisitionList = (List <Requisition>)requisitionRepo.FindBy(x => x.EmployeeId == em.Id && x.Status == "Approved");
                foreach (Requisition req in requisitionList)
                {
                    Requisition rq = req;
                    approvedRequisitionList.Add(rq);
                }
            }
            return(approvedRequisitionList);
        }
 public List <Requisition> GetPersonalRequisitionHistory(int employeeId)
 {
     return((List <Requisition>)requisitionRepo.FindBy(x => x.EmployeeId == employeeId));
 }