Esempio n. 1
0
 public async Task ModifyAssetLocationAsync(ModifyAssetLocation model)
 {
     var command = _mapper.Map <ModifyAssetLocationCommand>(model);
     await _bus.SendCommandAsync(command);
 }
Esempio n. 2
0
        public async Task <IActionResult> ModifyLocation([FromBody] ModifyAssetLocation model)
        {
            await _assetService.ModifyAssetLocationAsync(model);

            return(AppResponse(null, "操作成功"));
        }