public RepositoryKeyIntBase(DbContextWithSaveChangesHooks db,
            IMapper mapper,
            DbSet<TDataModel> dbSet,
            IFactory<TEntityImpl> entitiesFactory) :
            base(db, mapper, dbSet, entitiesFactory)
        {

        }
 public RepositoryBase(DbContextWithSaveChangesHooks db,
     IMapper mapper,
     DbSet<TDataModel> dbSet,
     IFactory<TEntityImpl> entitiesFactory)
 {
     _db = db ?? throw new ArgumentNullException(nameof(db));
     _mapper = mapper ?? throw new ArgumentNullException(nameof(mapper));
     _dbSet = dbSet ?? throw new ArgumentNullException(nameof(dbSet));
     _entitiesFactory = entitiesFactory ?? throw new ArgumentNullException(nameof(entitiesFactory));
 }