I have built a response wrapper as per alltej's answer shown in the below link:
How can I wrap Web API responses(in .net core) for consistency?
When a try to read the content of the response after the api call I get the following. The sample json is value in parameters.
response = await _apiClient.GetAsync("search/getParameter");
parameters = await response.Content.ReadAsStringAsync();
{"Version":"1.0","StatusCode":404,"ErrorMessage":"Request not found. The specified uri does not exist","Result":null}
How can I make response.Content point to the "Result" in the JSON.
Am I missing something here?