Пример #1
0
 public Task <TSagaData> Get <TSagaData>(Guid sagaId, SynchronizedStorageSession session, ContextBag context) where TSagaData : class, IContainSagaData
 {
     return(_repo.FindById <TSagaData>(sagaId));
 }
Пример #2
0
 public T Get <T>(Guid sagaId) where T : IContainSagaData
 {
     return(_repo.FindById <T>(sagaId));
 }