Exemplo n.º 1
0
 private bool CheckIsHandleRequired(BaseMessage message, RequestsRepository requestsRepository)
 {
     return(!requestsRepository.IsHandledOrSaveRequestAsync(
                message.Id,
                GetRequestIdInvalidationDate())
            .GetAwaiter()
            .GetResult());
 }
Exemplo n.º 2
0
 protected TransactionHandlerBase(RequestsRepository requestsRepository, TransactionsRepository transactionsRepository)
 {
     _requestsRepository     = requestsRepository;
     _transactionsRepository = transactionsRepository;
 }
 public DomainManagerBase(RequestsRepository requestsRepository)
 {
     _requestsRepository = requestsRepository;
 }