/// <summary> /// Search By Criteria - iVerse version instances as IList with paging /// </summary> /// <param name="siteId"></param> /// <param name="quranID"></param> /// <param name="suraID"></param> /// <param name="isActive"></param> /// <param name="isTranslation"> To tell SP to search within the translation or the arabic texts</param> /// <param name="pageNumber"></param> /// <param name="pageSize"></param> /// <param name="totalPages"></param> /// <returns></returns> public static List <QuranVerse> GetPage_iVerse_ByActive(int siteId, int quranID, int suraID, bool isActive, bool isTranslation, int pageNumber, int pageSize, out int totalPages) { totalPages = 1; IDataReader reader = DBiQuran.iVerse_GetPage_ByActive(siteId, quranID, suraID, isActive, isTranslation, pageNumber, pageSize, out totalPages); return(LoadListFromReader(reader, isTranslation)); }