private async Task SaveModel() { var dmnPlainXml = await JSRunTime.InvokeAsync <string>("dmnModellerLib.saveXml"); BusinessRuleTask.BusinessRuleDefinitionXml = dmnPlainXml; BusinessRuleTask.BusinessRule = Definitions.DeserializePlainDefinition(dmnPlainXml); }
private async Task SaveDiagramXml(object sender, EventArgs e) { var diagramXml = await JSRunTime.InvokeAsync <string>("modellerLib.getDiagramXML"); ProcessModelManager.SetProcessBpmnDefinition(diagramXml); }
private async Task SaveModel() { var dmnXml = await JSRunTime.InvokeAsync <string>("dmnModellerLib.saveXml"); BusinessRuleTask.BusinessRuleDefinitionXml = dmnXml; }
private async Task SaveDiagramXml(object sender, EventArgs e) { var diagramXml = await JSRunTime.InvokeAsync <string>("modellerLib.getDiagramXML"); ContractManager.SetProcessDiagram(diagramXml); }