/// <summary>
        /// Executes the get workflow run action command
        /// </summary>
        public override void ExecuteCmdlet()
        {
            base.ExecuteCmdlet();

            if (string.IsNullOrEmpty(this.ActionName))
            {
                var enumerator = LogicAppClient.GetWorkflowRunActions(this.ResourceGroupName, this.Name, this.RunName).GetEnumerator();
                this.WriteObject(enumerator.ToIEnumerable <WorkflowRunAction>(), true);
            }
            else
            {
                this.WriteObject(
                    LogicAppClient.GetWorkflowRunAction(this.ResourceGroupName, this.Name, this.RunName, this.ActionName),
                    true);
            }
        }