public static IEnumerable <AssistiveToolsReviewPageItem> GetSearchResultsByCategory(int page, Guid categoryId, Guid?issueId = null, Guid?gradeRangeId = null, Guid?technologyId = null, Guid?platformId = null, string searchTerm = null, SearchHelper.SortOptions.AssistiveToolsSortOptions sortOption = 0) { int?minGrade = null; int?maxGrade = null; if (gradeRangeId.HasValue) { GetMinMaxGrade(gradeRangeId.Value, out minGrade, out maxGrade); } return(SearchHelper.GetAssitiveToolsReviewPagesByCategory(page, categoryId, issueId, minGrade, maxGrade, technologyId, platformId, searchTerm, sortOption)); }
public static List <AssistiveToolSearchResultSet> GetGroupedSearchResults(int page, Guid?issueId = null, Guid?gradeRangeId = null, Guid?technologyId = null, Guid?platformId = null, string searchTerm = null, SearchHelper.SortOptions.AssistiveToolsSortOptions sortOption = 0) { int?minGrade = null; int?maxGrade = null; if (gradeRangeId.HasValue) { GetMinMaxGrade(gradeRangeId.Value, out minGrade, out maxGrade); } return(SearchHelper.GetAssitiveToolsReviewPages(page, issueId, minGrade, maxGrade, technologyId, platformId, searchTerm, sortOption)); }