// view CurrentRep and CP // view CurrentRep and CP public ActionResult CurrentRepCP() { //string codeDepartment = "CPSC"; string codeDepartment = _departmentDAO.FindCodeDepartmentByIdEmployee((int)Session["IdEmployee"]); Employee employee = _employeeDAO.FindDepartmentRep(codeDepartment); Department department = _departmentDAO.FindDepartmentCollectionPoint(codeDepartment); if (employee == null) { } else { ViewData["employee"] = employee; ViewData["department"] = department; } return(View()); }