How to GET two models in one web api controller?
<p>So I have two tables in my db, engineer and engineerSettings. I currently have a controller for both api/username and api/userSettings, but I also want to have a controller api/userInformation that returns everything in username as well as userSettings. I'm not really sure how to go about doing this, but right now I have a new model for userInformation</p>

<pre><code>public class userInformation
{
    public virtual ICollection&lt;Username&gt; Usernames {get;set;}
    punlic virtual ICollection&lt;UserSetting&gt; UserSettings {get;set;}
}
</code></pre>

<p>And in my UserInformation controller I have</p>

<pre><code>.... 
//GET
public IEnumerable&lt;UserInformation&gt; GetUserInformation()
{
    return db.UserInformations;
}
</code></pre>

<p>Which doesn't really work so I was wondering how to solve this problem?</p>