常用方法
常用方法
常用方法
常用方法
public ActionResult <BaseResponse> AddNode(Guid scenarioId, [FromBody] ServerNode serverNode) { var mappedNode = LocalMapper.Map <BusinessLogic.Model.Consensus.ServerNode>(serverNode); return(_simulationService.AddNode(scenarioId, mappedNode) .GetActionResult <BusinessLogic.Model.Scenarios.Simulation, Simulation>(this)); }