Example #1
0
        // show lists of requisitions
        public ActionResult PendingLists()
        {
            string codeDepartment = _departmentDAO.FindCodeDepartmentByIdEmployee((int)Session["IdEmployee"]);
            //String codeDepartment = "ENGL"; // temporary use this employee id 36 with engL

            List <Requisition> empReqList = _employeeDAO.RaisesRequisitions(codeDepartment);

            ViewBag.empReqList = empReqList;
            return(View());
        }
        // GET: DepartmentActingHead
        public ActionResult Index()
        {
            string codeDepartment = _departmentDAO.FindCodeDepartmentByIdEmployee((int)Session["IdEmployee"]);

            return(View());
        }