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

            return(new MultistepActionServiceContext {
                CommandStates = new[] { commandState }
            });
        }