Пример #1
0
        public ActionResult EnumTypeListProvide()
        {
            if (!base.HasPermission("enumtype", PermissionOperate.manager))
            {
                return(null);
            }

            PagedList <EnumType> list = _enumTypeService.GetPageList("Sort", PageIndex, PageSize, true);

            return(SwitchJsonList <EnumType, EnumTypeDTO>(list, list.TotalItemCount));
        }