public Task DeleteAsync(int customEntityId)
        {
            var command = new DeleteCustomEntityCommand()
            {
                CustomEntityId = customEntityId
            };

            return(ExtendableContentRepository.ExecuteCommandAsync(command));
        }
コード例 #2
0
        public Task DeleteCustomEntityAsync(int customEntityId, IExecutionContext executionContext = null)
        {
            var command = new DeleteCustomEntityCommand()
            {
                CustomEntityId = customEntityId
            };

            return(_commandExecutor.ExecuteAsync(command, executionContext));
        }