Exemplo n.º 1
0
        /// <summary>
        /// Executes this action.
        /// </summary>
        /// <param name="model">The model.</param>
        /// <param name="context">The context.</param>
        public override void Execute(RootModel model, ActionExecutionContext context)
        {
            Assert.ArgumentNotNull(model, "model");
            Assert.ArgumentNotNull(context, "context");

            if (!string.IsNullOrEmpty(GroupNameToEnable))
            {
                model.EnableGroup(GroupNameToEnable);
            }
        }