public override void DeactivateAccount(AccountStatusAwareOperations context, IAccountIdentity account) { deactivationMethod.DeactivateAccount(account); context.SetState(context.inactiveState); }
public override void ActivateAccount(AccountStatusAwareOperations context, IAccountIdentity account) { reactivateMethod.Reactivate(account); context.SetState(context.activeState); }