public static string GetGallerysPublishXML(int CategoryID, Enums.CMSEnums.GalleryType GalleryType, int PageNumber, int PageSize, ref int TotalCount) { int RowFrom = ((PageNumber - 1) * PageSize) + 1, RowTo = PageNumber * PageSize; return GalleryDataMapper.GetGallerysPublishXML(CategoryID, GalleryType, RowFrom, RowTo, ref TotalCount); } }