title: How to add foreign key in a model using ASP.NET ( MVC6 framework)
body: <p>I am new to ASP.NET and trying out the new MVC 6 framework. i want to create an To do list App. After user authentication, I am redirecting to a dashboard page where I want to display to do tasks. I have created a model Task, but i am unsure about how to add a Foreign Key for the user id so that when i redirect the user to the dashboard page I can query based on the user's id.</p>
  
  <pre><code>public class Task
  {
      public int Id { get; set; }
  
      // i want to add a fk to aspnetuser id here 
  }
  </code></pre>
  
  <p>Thank you for your help.</p>