title: Cannot implicitly convert type 'bool' to 'system.threading.tasks.task bool'
body: <p>I have this error: "Cannot implicitly convert type 'bool' to 'system.threading.tasks.task bool'" in my service implementation code. Could you correct my code please. </p>
  
  <pre><code>public Task&lt;bool&gt; login(string usn, string pwd)
      {
          DataClasses1DataContext auth = new DataClasses1DataContext();
          var message = from p in auth.Users
                        where p.usrName == usn &amp;&amp; p.usrPass == pwd
                        select p;
          if (message.Count() &gt; 0)
          {
              return true;
          }
          else
          {
              return false;
          }
      }
  </code></pre>