コード例 #1
0
        //[AuthorizeUser(ModuleName = "Employee", AccessLevel = Constants.Add)]
        public ActionResult CreateEmployee()
        {
            var entity = new EmployeeEntity();

            ViewData["Department"]   = _iplDepartment.ListAllByTreeView();
            ViewData["DispatchWork"] = _iplDispatchWork.ListAllByTreeView();
            ViewData["Position"]     = _iplPosition.ListAll();
            return(View(entity));
        }
コード例 #2
0
        // GET: DispatchWork
        public ActionResult Index()
        {
            var department = _iplDispatchWork.ListAllByTreeView();

            return(View(department));
        }