Tell me please. How can I get this data back in the JsonResult? I can't figure it out for 2 hours. My task: I need to take this data, return it to JsonResult and process it in ajax. I will be glad to any hint
public async Task<JsonResult> PostsPartial()
{
var client = new RestClient($"https://jsonplaceholder.typicode.com/posts");
var request = new RestRequest(Method.GET);
IRestResponse response = await client.ExecuteAsync(request);
var postsData = JsonConvert.DeserializeObject<JToken>(response.Content);
return Json(postsData);
}