public Task DuplicateAsync(DuplicatePageCommand command) { return(ExtendableContentRepository.ExecuteCommandAsync(command)); }
public Task DuplicatePageAsync(DuplicatePageCommand command, IExecutionContext executionContext = null) { return(_commandExecutor.ExecuteAsync(command, executionContext)); }