Implement IRepository in DbRepository<TDbContext>

DbRepository<TDbContext> now implements the IRepository interface, ensuring it conforms to the expected repository contract and interface requirements. This change improves consistency and enforces interface adherence across repository implementations.
This commit is contained in:
2025-12-19 10:01:20 +01:00
parent 2c704c1231
commit 3021fd36f6

View File

@@ -14,7 +14,7 @@ using System.Threading.Tasks;
namespace DigitalData.Core.Infrastructure
{
public class DbRepository<TDbContext> where TDbContext : DbContext
public class DbRepository<TDbContext> : IRepository where TDbContext : DbContext
{
protected internal readonly TDbContext Context;