Exemplo n.º 1
0
        public Task DeleteCustomEntityDraftVersionAsync(int customEntityId, IExecutionContext executionContext = null)
        {
            var command = new DeleteCustomEntityDraftVersionCommand()
            {
                CustomEntityId = customEntityId
            };

            return(_commandExecutor.ExecuteAsync(command, executionContext));
        }
Exemplo n.º 2
0
        public Task DeleteDraftAsync(int customEntityId)
        {
            var command = new DeleteCustomEntityDraftVersionCommand()
            {
                CustomEntityId = customEntityId
            };

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }