title: Async Action Methods
body: <p>I was looking at ASP.NET MVC 5 templates and I have notice that many of the actions and marked as async:</p>
  
  <pre><code>public async Task&lt;ActionResult&gt; Login(LoginViewModel model, string returnUrl) { }
  </code></pre>
  
  <p>When should I do this on an MVC action? When it contains access to a database?</p>
  
  <p>If I call a repository inside the action should I also use Task to make it async?</p>