public async Task <bool> RemoveAssetExchangeAsync(RemoveAssetExchange model) { var command = _mapper.Map <RemoveAssetExchangeCommand>(model); return(await _bus.SendCommandAsync(command)); }
public async Task <IActionResult> Remove(RemoveAssetExchange model) { var @event = await _assetExchangeService.RemoveAssetExchangeAsync(model); return(AppResponse(@event, "事件已删除")); }