protected void OnDelete(TId id) { if (Equals(id, Guid.Empty)) { return; } _repository.Delete(id); }
public void Delete(Guid id) { _store.Delete <T>(id); }