Esempio n. 1
0
        public Task DeleteCustomEntityVersionPageBlockAsync(int customEntityVersionPageBlockId, IExecutionContext executionContext = null)
        {
            var command = new DeleteCustomEntityVersionPageBlockCommand()
            {
                CustomEntityVersionPageBlockId = customEntityVersionPageBlockId
            };

            return(_commandExecutor.ExecuteAsync(command, executionContext));
        }
        public Task DeleteAsync(int customEntityVersionPageBlockId)
        {
            var command = new DeleteCustomEntityVersionPageBlockCommand()
            {
                CustomEntityVersionPageBlockId = customEntityVersionPageBlockId
            };

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }