public void Add <TFact>(TFact fact) where TFact : Fact { var repository = _workingMemory.Repository <TFact>(); repository.Add(fact); }