예제 #1
0
        /// <summary>
        /// Search By Criteria - iQuran version instances as IList with paging
        /// </summary>
        /// <param name="WithSuras"> used to retrive the QuranSuras - Sura - instances of the Quran Revesion </param>
        /// <param name="siteId"></param>
        /// <param name="isActive"></param>
        /// <param name="pageNumber"></param>
        /// <param name="pageSize"></param>
        /// <param name="totalPages"></param>
        /// <returns></returns>
        public static List <Quran> GetPage_iQuran_ByActive(bool WithSuras, int siteId, bool isActive, int pageNumber, int pageSize, out int totalPages)
        {
            totalPages = 1;
            IDataReader reader = DBiQuran.iQuran_GetPage_ByActive(siteId, isActive, pageNumber, pageSize, out totalPages);

            return(LoadListFromReader(reader, WithSuras));
        }