Exemple #1
0
        public static XmlDocument GetByCategoryIDasXML(int catID, int count)
        {
            NewsItemDataMapper objCaller = new NewsItemDataMapper();

            return objCaller.GetByCategoryIDasXML(catID, count);
        }
Exemple #2
0
        public static XmlDocument GetByCategoryIDasXML(int catID, int from, int to, ref int TotalRows, string keyword, string date, int isFeatured, bool SelectRandomly)
        {
            NewsItemDataMapper objCaller = new NewsItemDataMapper();

            return objCaller.GetByCategoryIDasXML(catID, from, to, ref TotalRows, keyword, date, isFeatured, SelectRandomly);
        }
Exemple #3
0
        public static XmlDocument GetByCategoryAndDateYear(int catId, string year)
        {
            NewsItemDataMapper objCaller = new NewsItemDataMapper();

            return objCaller.GetByCategoryIDasXML(catId, 100000);

        }