title: Get result from async method
body: <p>I have this method in my service:</p>
  
  <pre><code>public virtual async Task&lt;User&gt; FindByIdAsync(string userId)
  {
      this.ThrowIfDisposed();
      if (userId == null)
      {
          throw new ArgumentNullException("userId");
      }
      return await this.repository.FindByIdAsync(userId);
  }
  </code></pre>
  
  <p>and then in a view I have this code:</p>
  
  <pre><code>using (var service = new UserService(new CompanyService(), User.Identity.GetUserId()))
  {
      var user = service.FindByIdAsync(id);
  }
  </code></pre>
  
  <p>but the user is the <strong>Task</strong> and not the <strong>User</strong>. I tried adding <strong>await</strong> to the service call, but I can't use <strong>await</strong> unless the current method is <strong>async</strong>.
  How can I access the <strong>User</strong> class?</p>