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

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