Exemplo n.º 1
0
        // GET: ActiveFile
        public ActionResult AddFile(long id = -1)
        {
            ViewBag.id = id;
            List <T_BG_Department> departmentList = _bgDepartmentService.GetListDepartment();

            return(View(departmentList));
        }
Exemplo n.º 2
0
        // GET: User
        public ActionResult Add()
        {
            UserAddEntity entity = new UserAddEntity();

            entity.RoleList       = _bgRoleService.List();
            entity.DepartmentList = _bgDepartmentService.GetListDepartment();
            entity.AreaList       = _areaService.List();
            if (entity.AreaList != null && entity.AreaList.Count > 0)
            {
                entity.ShopList = _bgShopService.List(entity.AreaList[0].ID);
            }
            return(View(entity));
        }
Exemplo n.º 3
0
        // GET: DisplayPartition
        public ActionResult Add()
        {
            List <T_BG_Department> departmentList = _bgDepartmentService.GetListDepartment();

            return(View(departmentList));
        }