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