title: ASP.NET Core layered architecture and IdentityUser
body: <p>I have multiple layers (projects) created like <code>MyProject.Data</code>, <code>MyProject.API</code>. In <code>MyProject.Data</code> I store all the models that will be used in the <code>MyProject.API</code>. </p>
  
  <p>What should I do with extended IdentityUser? Should I put it inside <code>MyProject.Data</code> or <code>MyProject.API</code>? The problem with putting it in my data layer is that it creates a dependency on <code>Microsoft.Extensions.Identity.Stores</code></p>
  
  <p><code>class ApplicationUser : IdentityUser</code></p>
  
  <p>Sorry if the question sounds stupid but for some reason I have such a concern.</p>