public Task DeleteCustomEntityDraftVersionAsync(int customEntityId, IExecutionContext executionContext = null) { var command = new DeleteCustomEntityDraftVersionCommand() { CustomEntityId = customEntityId }; return(_commandExecutor.ExecuteAsync(command, executionContext)); }
public Task DeleteDraftAsync(int customEntityId) { var command = new DeleteCustomEntityDraftVersionCommand() { CustomEntityId = customEntityId }; return(ExtendableContentRepository.ExecuteCommandAsync(command)); }