public void Remove(TEntity entity) { var callerInfo = LoggingExtensions.Caller(); _profiler.Profile( () => _writerDelegate.Remove(entity), $"{callerInfo} - entity=[{JsonLogging.Serialize(entity)}];" ); }
public void Remove(TEntity entity) { WriterDelegate.Remove(entity); }
public void Remove(TEntity entity) { _writerDelegate.Remove(entity); _publisher.Publish(new DataEvent <TEntity>(entity, EventName <TEntity> .Deleted)); }