The aim is to make controller that uses async method in my custom service.

Controller:

```
[Route("api/data/summary")]
[HttpGet]
public async Task<IHttpActionResult> Get()
{
    var result = await DataService.GetDataObjects();
    return Ok(result);
}

```

Service:

```
public static async Task<IEnumerable<DataObject>> GetDataObjects()
{
    var apiKey = "some-api-key";
    var path = "path-to-external-service";
    using (var client = new HttpClient())
    {
        var dataToProcess = // some data object

        client.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", apiKey);
        client.BaseAddress = new Uri(path);

        HttpResponseMessage response = await client.PostAsJsonAsync("", dataToProcess);
        var content = await response.Content.ReadAsStringAsync();

        var result = MakeEntities(content); // some logic

        return result;
    }
}

```

But I came across with the problem that controller's action returns empty result before service actually finished processing data.

Could you please advice how to implement it correctly?