Exemple #1
0
        public async Task <int> AddPageVersionBlockAsync(AddPageVersionBlockCommand command, IExecutionContext executionContext = null)
        {
            await _commandExecutor.ExecuteAsync(command, executionContext);

            return(command.OutputPageBlockId);
        }
        public async Task <int> AddAsync(AddPageVersionBlockCommand command)
        {
            await ExtendableContentRepository.ExecuteCommandAsync(command);

            return(command.OutputPageBlockId);
        }