Esempio n. 1
0
 public RegisterUseCase(
     IUserRepository userRepository,
     ICommon common, IEventBus eventBus, IBeginTransaction beginTransaction
     )
 {
     _userRepository   = userRepository;
     _common           = common;
     _eventBus         = eventBus;
     _beginTransaction = beginTransaction;
 }
Esempio n. 2
0
 public void Init(IBeginTransaction basetran)
 {
     basetran.BeginTran  += BeginTransactionHandle;
     basetran.CommitTran += CommitHandle;
 }