using System.Collections.Generic;

namespace Stat.BLL
{
    /// <summary>
    /// 分页
    /// </summary>
    public class WebsitePageIndex
    {
        private static IDAL.IWebsitePageIndex dal = DALFactory.AbstractFactory.GetInstance().CreateWebsitePageIndex();

        /// <summary>
        /// 获取列表（分页）
        /// </summary>
        /// <param name="pageInfo"></param>
        /// <param name="searchInfo"></param>
        /// <returns></returns>
        public static IList<Stat.Model.WebSites> GetList(ref Model.PageInfo pageInfo, Model.SearchInfo searchInfo)
        {



            return dal.GetList(ref pageInfo, searchInfo);
        }
        /// <summary>
        /// 检索 （分页）
        /// </summary>
        /// <param name="pageInfo"></param>
        /// <param name="searchInfo"></param>
        /// <returns></returns>
        public static IList<Model.WebSites> GetInSearch(ref Model.PageInfo pageInfo, Model.SearchInfo searchInfo)
        {
            return dal.GetInSearch(ref pageInfo, searchInfo);
        }
    }
}
