Closed justdmitry closed 8 years ago
For example I have controller action:
public async Task<IActionResult> DoSomething() { ... }
To redirect to this action, I use code like
return this.RedirectToAction<MyController>(c => c.DoSomething());
Which generates compiler warning:
warning CS4014: Because this call is not awaited, execution of the current method continues before the call is completed. Consider applying the 'await' operator to the result of the call.
Redirection still works Ok, but this warnings are annoying.
@justdmitry Thank you. Will upload a fix in the next few days.
@justdmitry Package with a fix is now uploaded to NuGet.
For example I have controller action:
To redirect to this action, I use code like
Which generates compiler warning:
Redirection still works Ok, but this warnings are annoying.