public static DTO.ModuleFeatureStepAction ToDto(this Display.Action displayEntity)
        {
            var dto = new DTO.ModuleFeatureStepAction(
                displayEntity.Name,
                displayEntity.ParentName,
                displayEntity.Title,
                displayEntity.Sort,
                displayEntity.TypeId);

            return(dto);
        }
        public static Display.Action ToDisplayEntity(this DTO.ModuleFeatureStepAction dto)
        {
            var displayEntity = new Display.Action();

            displayEntity.Name       = dto.Name;
            displayEntity.ParentName = dto.ParentName;
            displayEntity.Sort       = dto.Sort;
            displayEntity.Title      = dto.Title;
            displayEntity.TypeId     = dto.Type;

            return(displayEntity);
        }