public async Task ModifyAssetLocationAsync(ModifyAssetLocation model) { var command = _mapper.Map <ModifyAssetLocationCommand>(model); await _bus.SendCommandAsync(command); }
public async Task <IActionResult> ModifyLocation([FromBody] ModifyAssetLocation model) { await _assetService.ModifyAssetLocationAsync(model); return(AppResponse(null, "操作成功")); }