I have a method like this:
private AsyncResourceGetter _getter;
public Task<string> DoSomeWork()
{
return _getter.GetAsync();
}
I'm thinking of changing it to:
public async Task<string> DoSomeWork()
{
return await _getter.GetAsync();
}
What's the difference? what's the right approach here?