Ejemplo n.º 1
0
        private ModuleActionCollection LoadActions(ModuleRequestResult result)
        {
            var actions = new ModuleActionCollection();

            if (result.ModuleActions != null)
            {
                foreach (ModuleAction action in result.ModuleActions)
                {
                    action.ID = ModuleContext.GetNextActionID();
                    actions.Add(action);
                }
            }

            return(actions);
        }