public IActionResult DiagramItemMove(DiagramItemMoveRequest request) { var response = new DiagramItemMoveResponse { Success = true, ClientId = request.ClientId, ActionId = request.ActionId, DiagramId = request.DiagramId, Items = request.Items }; _mainNotifier.DiagramItemMoveResponse(response); var diagram = _diagramService.GetDiagramById(request.DiagramId); var action = new DiagramItemMoveAction(request.ActionId, request); _actionService.AddAction(diagram, action); return(Ok()); }
public async void DiagramItemMoveResponse(DiagramItemMoveResponse response) { await SendResponse(response); }