title: Cannot await 'Model.PersonalInfo'
body: <p>I have the following method in a DesignDataService class</p>
  
  <pre><code>public async Task&lt;T&gt; GetData&lt;T&gt;(T dataObject)
  {
      var typeName = typeof(T).Name;    
      switch (typeName)
      {
          case "PersonalInfo":
              var person =  new PersonalInfo
                       {
                       FirstName = "Mickey",
                       LastName = "Mouse" ,
                       Adres = new Address{Country="DLRP"} ,
                  };
          return await person;
  
      }   // end Switch
  
  }   // GetData&lt;T&gt;
  </code></pre>
  
  <p>How can I return a new PersonalInfo class from the DataService? </p>
  
  <p>For now I get the error <strong>Cannot await 'Model.PersonalInfo'</strong></p>
  
  <p>Even when I change the return statement as follows <em>return await person as Task;</em>
   the error stays the same</p>