Beispiel #1
0
        public async Task <IActionResult> Modify([FromBody] ModifySpaceInfo model)
        {
            await _orgSpaceService.ModifyAsync(model);

            return(AppResponse(null, "操作成功"));
        }
 public async Task ModifyAsync(ModifySpaceInfo model)
 {
     var command = _mapper.Map <ModifySpaceInfoCommand>(model);
     await _bus.SendCommandAsync(command);
 }