public Task DeletePageVersionBlockAsync(int pageVersionBlockId, IExecutionContext executionContext = null) { var command = new DeletePageVersionBlockCommand() { PageVersionBlockId = pageVersionBlockId }; return(_commandExecutor.ExecuteAsync(command, executionContext)); }
public Task DeleteAsync(int pageVersionBlockId) { var command = new DeletePageVersionBlockCommand() { PageVersionBlockId = pageVersionBlockId }; return(ExtendableContentRepository.ExecuteCommandAsync(command)); }