title: Web API returns empty json array
body: <p>I've traced through the my method (below) at run time. Below the code I've included a screenshot of the Debug examination of the Portfolios list just before the return statement. I've expanded a couple of the list entries. As you can see, each Portfolio object contains bona fide data - a numeric Id and a string name.</p>
  
  <p>Yet, here's what comes back to the Chrome browser, or postman, no difference.</p>
  
  <p>[{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{}]</p>
  
  <p>What's happening to all the data? Thanks for your help!</p>
  
  <pre><code>    // GET: api/Portfolio
      [HttpGet]
      public List&lt;Portfolio&gt; Get()
      {
          List&lt;Portfolio&gt; Portfolios = new List&lt;Portfolio&gt;();
  
          using (SqlConnection cn = new SqlConnection(conn))
          {
              SqlCommand cmd = cn.CreateCommand();
              cmd.CommandText = sqlSelectPortfolios;
              cn.Open();
              SqlDataReader rdr = cmd.ExecuteReader();
              Portfolio pf;
  
              while (rdr.Read())
              {
                  pf = new Portfolio
                  {
                      id = (int)rdr["PortfolioId"],
                      name = (string)rdr["PortfolioName"]
                  };
  
                  Portfolios.Add(pf);
              }
          }
  
          return Portfolios;
      }
  </code></pre>
  
  <p>Debug:</p>
  
  <p><a href="https://i.stack.imgur.com/6KRRP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6KRRP.png" alt="Debug Screenshot"></a></p>