Beispiel #1
0
        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());
        }
Beispiel #2
0
        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());
        }