Esempio n. 1
0
        public ActionResult ModifyInfo()
        {
            var departmentList = _departmentRepos.GetAllDepartments();

            ViewBag.departmentList = departmentList;
            return(View(Session["loginUser"]));
        }
Esempio n. 2
0
        public ActionResult QueryUsers()
        {
            var departmentList = _departmentRepos.GetAllDepartments();
            var roleList       = _roleRepos.GetAllRoles();

            ViewBag.departmentList = departmentList;
            ViewBag.roleList       = roleList;
            return(View());
        }