error: Exception: 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 in your application. This may occur if you are calling 'Dispose' on the context instance, or wrapping it in a using statement. If you are using dependency injection, you should let the dependency injection container take care of disposing context instances. Object name: 'CSTCmsContext'. at Microsoft.EntityFrameworkCore.DbContext.get_ContextServices() at Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal.NpgsqlCompiledQueryCacheKeyGenerator.GenerateCacheKey(Expression query, Boolean async) at Microsoft.EntityFrameworkCore.Query.Internal.QueryCompiler.ExecuteAsync[TResult](Expression query, CancellationToken cancellationToken) at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.FirstOrDefaultAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken) at CSTCms.DAL.Factory.CSTFooterFactory.MakeFooterVM(Int32 enumI18nValue, CSTCmsContext db) in C:\Users\cst\Projects\Durst\DurstGroup-Website-DN10-MVC\CSTCms\DAL\Factory\CSTFooterFactory.cs:line 15 at CSTCms.DAL.CSTPageFactory.MakePageMenuV2VM(String hl, CSTCmsContext db, String classMenu) in C:\Users\cst\Projects\Durst\DurstGroup-Website-DN10-MVC\CSTCms\DAL\CSTPageFactory.cs:line 69 at CSTCms.DAL.CSTPageFactory.MakePageMenuV2VM(String hl, String requestPath, CSTCmsContext db, String classMenu) in C:\Users\cst\Projects\Durst\DurstGroup-Website-DN10-MVC\CSTCms\DAL\CSTPageFactory.cs:line 454 at CSTCms.Controllers.LandingPageController.LandingPage(String hl, String url, String id) in C:\Users\cst\Projects\Durst\DurstGroup-Website-DN10-MVC\CSTCms\Controllers\LandingPageController.cs:line 76