Moved the code to generate ISearchResult in its own function GenerateSearchResult Now that function will be called again in GetSearchResultById to get a ValueTask<WikiPreviewSearchResult>
Involves making two http calls:
To get the actual page content by its PageID which is also the SearchObjectId.
To get the Bitmap from URL, related code is present in GenerateSearchResult
Moved the code to generate
ISearchResult
in its own functionGenerateSearchResult
Now that function will be called again inGetSearchResultById
to get aValueTask<WikiPreviewSearchResult>
Involves making two http calls:
GenerateSearchResult