Ejemplo n.º 1
0
        public bool executeCommand(IActionBuilder builder)
        {
            var validator = builder.buildValidator();

            if (validator.validateAction())
            {
                var command = builder.buildCommand();
                command?.executeAction();
                return(true);
            }
            return(false);
        }