namespace HrynCo.NotificationService.DAL.EF.Core; using HrynCo.DAL.Abstract.Entities; using HrynCo.DAL.EF.Core; public abstract class NotificationBaseRepository : BaseRepository, NotificationDbContext, TEntity, Guid> where TEntity : Entity { protected NotificationBaseRepository(NotificationDbContext dbContext) { DbContext = dbContext; } private NotificationDbContext DbContext { get; set; } protected override NotificationEfRepository CreateEfRepository() { return new NotificationEfRepository(DbContext); } }