From 3021fd36f6d1ed312d00dceb0a88f349072429b4 Mon Sep 17 00:00:00 2001 From: TekH Date: Fri, 19 Dec 2025 10:01:20 +0100 Subject: [PATCH] Implement IRepository in DbRepository DbRepository 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. --- DigitalData.Core.Infrastructure/DbRepository.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DigitalData.Core.Infrastructure/DbRepository.cs b/DigitalData.Core.Infrastructure/DbRepository.cs index b02f028..b95be53 100644 --- a/DigitalData.Core.Infrastructure/DbRepository.cs +++ b/DigitalData.Core.Infrastructure/DbRepository.cs @@ -14,7 +14,7 @@ using System.Threading.Tasks; namespace DigitalData.Core.Infrastructure { - public class DbRepository where TDbContext : DbContext + public class DbRepository : IRepository where TDbContext : DbContext { protected internal readonly TDbContext Context;