title: How Can I Pull The Contacts Records from Salesforce in .NET Web API Connected Application
body: <p>I have a connected Salesforce .NET Web Api Application and I'm trying to display all the contacts from that App. </p>
  
  <pre><code>public class ContactsController : ApiController
  {
      public async Task&lt;Models.Contact&gt; Get()
      {
          var client = await SalesforceService.GetUserNamePasswordForceClientAsync();
          var contacts = await client.QueryAsync&lt;Models.Contact&gt;("SELECT id, FirstName, LastName, Email FROM Contact");
          var sfContact = contacts.Records;
  
          return sfContacts;
      }
  }
  </code></pre>
  
  <p>How do I return sfContacts?</p>