public void Execute(IJobExecutionContext context) { var accounts = GetAllAccounts(); var notInitializedAccounts = SelectNotInitialized(accounts); var initializer = new Initializer(_storage); initializer.Initialize(notInitializedAccounts); var upDater = new Updater(_storage); upDater.UpDate(accounts); }
public Server() { _Machine = new StageMachine(); _Updater = new Updater(); }