public async Task <List <string> > DeleteComponents([FromQuery] DocumentComponentDelete input) { var componentId = await _componentService.CancelComponent(input.NodeId, input.ComponentsId); return(componentId); }
public async Task <List <string> > DeleteComponent([FromRoute] ConceptComponentCancel input) { return(await _componentService.CancelComponent(input.NodeId, input.ComponentsId)); }