How do I inject object of DbContext in application service?
Need to access it to create clone of a entity record.
You can use IDbContextProvider<TDbContext> _sampleDbContextProvider
as constructor injection, using with _sampleDbContextProvider.GetDbContext();