public void HandleCommand(ICommand command) { CommandBus.Add(command); CommandBus.HandleNext(); while (!EventBus.IsBusEmpty) { EventBus.HandleNext(); } }