/// <summary> /// Search All - iVerse version instances as IList with paging. /// </summary> /// <param name="siteId"></param> /// <param name="quranID"></param> /// <param name="suraID"></param> /// <param name="isAdmin"> used to know to retrive data for front end or for back end pages</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_All(int siteId, int quranID, int suraID, bool isTranslation, int pageNumber, int pageSize, out int totalPages) { totalPages = 1; IDataReader reader = DBiQuran.iVerse_GetPage_All(siteId, quranID, suraID, isTranslation, pageNumber, pageSize, out totalPages); return(LoadListFromReader(reader, isTranslation)); }