/// <summary> /// 获取内容 /// </summary> /// <param name="type"></param> /// <param name="indexPage"></param> /// <param name="pageSize"></param> /// <param name="count"></param> /// <returns></returns> public List <SysresourceModel> GetList(ResourceTypeEnum type, int indexPage, int pageSize, out int count) { count = _dataAccess.GetCount(type); return(_dataAccess.GetModels(type, indexPage, pageSize)); }