public async Task <Joint> CreateJoint([FromBody] CreateJointModel jointModel) { var joint = await SchemeService.CreateJointOnSchemeAsync(jointModel.SchemeId, jointModel.NodeFromId, jointModel.NodeToId); return(joint); }
public async Task <Joint> CreateJoint([FromBody] CreateJointModel jointModel) { var joint = await SchemeService.CreateJointOnSchemeAsync(jointModel.SchemeId, jointModel.NodeFromId, jointModel.NodeToId); return(joint); }