public Task AddAsync(AddImageAssetCommand command) { return(ExtendableContentRepository.ExecuteCommandAsync(command)); }
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); }