コード例 #1
0
 public Task AddAsync(AddImageAssetCommand command)
 {
     return(ExtendableContentRepository.ExecuteCommandAsync(command));
 }
コード例 #2
0
        public async Task <int> AddImageAssetAsync(AddImageAssetCommand command, IExecutionContext executionContext = null)
        {
            await _commandExecutor.ExecuteAsync(command, executionContext);

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

            return(command.OutputImageAssetId);
        }