public ActionResult QueryRecord() { ProjectLogic plogic = new ProjectLogic(); ViewBag.Projects = plogic.GetProjectDict(); ViewBag.Stages = plogic.GetProjectStageDict(); EmployeeLogic elogic = new EmployeeLogic(); ViewBag.Employees = elogic.GetAllEmployees(false); return(View()); }
public ActionResult ProjectMeetingContent() { ProjectLogic plogic = new ProjectLogic(); var projects = plogic.GetProjectDict(); ViewBag.Projects = projects; ViewBag.ProjectSelectList = new SelectList( projects, "ProjectId", "ProjectName"); EmployeeLogic empLogic = new EmployeeLogic(); ViewBag.AllEmployees = empLogic.GetAllEmployees(false); return(View()); }