Asp.net – System.ObjectDisposedException: "Cannot access a disposed context instance
I get the following error: System.ObjectDisposedException: "Cannot access a disposed context instance. A common cause of this error is disposing a context instance that was resolved from dependency injection and then later trying to use the same context instance elsewhere…