public void Remove <TEntity>(IEnumerable <TEntity> entities) where TEntity : class { _context.Set <TEntity>().RemoveRange(entities); }
private IQueryable <TEntity> Set <TEntity>() where TEntity : class { return(_noTracking ? _context.Set <TEntity>().AsNoTracking() : _context.Set <TEntity>()); }