title: Is it correct if i am using await + ToListAsync() over IQueryable which is not defined as a task
body: <p>I am using asp.net MVC-5 with EF-6, and I am not sure if using await + <code>ToListAsync</code> is valid. For example, I have the following repository method which returns an IQueryable :-</p>
  
  <pre><code>public IQueryable&lt;TSet&gt; getAllScanEmailTo()
  {
      return t.TSets.Where(a=&gt;a.Name.StartsWith("ScanEmail"));    
  }
  </code></pre>
  
  <p>And I am calling it as follow:-</p>
  
  <pre><code>var emailsTo = await repository.getAllScanEmailTo().ToListAsync();
  </code></pre>
  
  <p>In the beginning, I thought I will get an error because I am using "await" a method which is not defined as a task, but the above worked well, so can anyone advice on this, please ?</p>