예제 #1
0
        public Task UnPublishCustomEntityAsync(int customEntityId, IExecutionContext executionContext = null)
        {
            var command = new UnPublishCustomEntityCommand()
            {
                CustomEntityId = customEntityId
            };

            return(_commandExecutor.ExecuteAsync(command, executionContext));
        }
 public Task UnPublishAsync(UnPublishCustomEntityCommand command)
 {
     return(ExtendableContentRepository.ExecuteCommandAsync(command));
 }