Example #1
0
        public List <WebsiteProxy> Website_GetList(int pageSize, int pageNumber, out int totalCount)
        {
            totalCount = 0;
            if (!CheckClient())
            {
                return(null);
            }
            List <Website> websites = WebsiteBO.Instance.GetWebsites(pageSize, pageNumber, out totalCount);

            List <WebsiteProxy> websiteProxys = new List <WebsiteProxy>();

            foreach (Website web in websites)
            {
                websiteProxys.Add(ProxyConverter.GetWebsiteProxy(web));
            }
            return(websiteProxys);
        }