C# How to await a method that returns Task<dynamic>?
This is what you need:
return await GetReslutstAsync(url);
You are not awaiting on the dynamic
, only the task that returns a dynamic
.
This is what you need:
return await GetReslutstAsync(url);
You are not awaiting on the dynamic
, only the task that returns a dynamic
.