Beispiel #1
0
 /// <summary>
 /// 分页查询栏目
 /// </summary>
 /// <param name="cateFilter">对象</param>
 /// <param name="limit">一页共几条</param>
 /// <param name="page">目前第几页</param>
 /// <returns>pagination</returns>
 public static dynamic Find(CMS_Category cateFilter, int limit, int page)
 {
     try
     {
         Pagination pagination = CMS_Category_DAL.Find(cateFilter, limit, page);
         return(pagination);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #2
0
        /// <summary>
        /// 查找栏目
        /// </summary>
        /// <returns>list</returns>
        public static dynamic Find()
        {
            var list = CMS_Category_DAL.Find();

            return(list);
        }