Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

How to solve async method lacks 'await' operators and will run synchronously

$
0
0

When I use the given code it shows the  warning always coming 'async method lacks 'await' operators and will run synchronously' when I  run the application. How can I solve 

[HttpGet]
public async Task<IActionResult> CreateAuthor()
{
return View();
}




Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>