public async Task <bool> RemoveAssetExchangeAsync(RemoveAssetExchange model)
        {
            var command = _mapper.Map <RemoveAssetExchangeCommand>(model);

            return(await _bus.SendCommandAsync(command));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> Remove(RemoveAssetExchange model)
        {
            var @event = await _assetExchangeService.RemoveAssetExchangeAsync(model);

            return(AppResponse(@event, "事件已删除"));
        }