public void SetupWiringAndCreateRepositoryAndScope() { _repository = Container.Resolve <IAccountRepository>(); _duplicateAccountChecker = Container.Resolve <IDuplicateAccountChecker>(); _registerAccountScenario = new RegisterAccountScenario(Container); }
public void RegisterAccount() { RegisterAccountScenario = new RegisterAccountScenario(Container); RegisteredAccount = RegisterAccountScenario.Execute(); }
public void RegisterAccount() { _registerAccountScenario = new RegisterAccountScenario(Container); _account = _registerAccountScenario.Execute(); _changePasswordScenario = new ChangePasswordScenario(Container); }