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

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

            return(command.CustomEntityVersionId);
        }