public bool UpdateEdgeLabel(ChangeEdgeLabelCommand command) { _assetEdgeService.Update(command); //_auditTrailService.LogAction(AuditTrailAction.CreateAssetEdge, newValue.Id, new AuditTrailPayloadModel() { Data = JsonConvert.SerializeObject(command) }); return(true); }
public IActionResult UpdateEdgeLabel([FromBody] ChangeEdgeLabelCommand command) { _assetEdgeService.Update(command); //_auditTrailService.LogAction(AuditTrailAction.CreateAssetEdge, newValue.Id, new AuditTrailPayloadModel() { Data = JsonConvert.SerializeObject(command) }); return(Ok()); }