public static APLPX.Client.Entity.Workflow ToDTO(this Display.Workflow displayEntity)
        {
            var result = new Client.Workflow();

            result.Title            = displayEntity.Title;
            result.ThisWorkflowType = displayEntity.TypeCode;

            foreach (var step in displayEntity.Steps)
            {
                //result.Steps.Add(step.ToDTO());
            }

            return(result);
        }
        public static Display.Workflow ToDisplayEntity(this Client.Workflow dto)
        {
            var result = new Display.Workflow();

            result.Title = dto.Title;

            //foreach (var step in dto.Steps)
            //{
            //    result.Steps.Add(step.ToDisplayEntity());
            //}
            result.TypeCode = dto.ThisWorkflowType;

            return(result);
        }