The instance of entity type ‘ApplicationUser’ cannot be tracked because another instance with the same key value for {‘Id’} is already being tracked
I have an app that uses the entity framework. I have 2 DB contexts, one for the live sql database and another using InMemory for users to demo the site without changing the live db. The problem is when I add new entries to a table, the 2nd time I try I get this error.