Returning a view with async keyword

Viewed 15616

There are some code samples where I show some code like below.

 public async Task<IActionResult> AddUser(User user)
 {
      ///Logic to add user
      return View();
 }

Is this a good practice to return a view with async action result method as view result it self-does not support async.

I checked in normal scenarios it works perfectly fine but what are the scenarios where it might fail or create problems.

1 Answers
Related