protected override MultistepActionServiceContext CreateContext(int parentId, int id, bool?boundToExternal) => new MultistepActionServiceContext { CommandStates = new[] { _clearCommand.GetState(), _removeCommand.GetState() } };
protected override MultistepActionServiceContext CreateContext(int parentId, int id, bool?boundToExternal) { var commandState = _command.GetState(); return(new MultistepActionServiceContext { CommandStates = new[] { commandState } }); }