public async Task <IList <NodeInstance> > Import([FromBody] ImportData instance) { var data = await _notifyDriver.Import(instance.Node, instance.FileName); if (System.IO.File.Exists(instance.FileName)) { System.IO.File.Delete(instance.FileName); } return(data); }
public async Task <IList <NodeInstance> > Import([FromBody] ImportData instance) { return(await _notifyDriver.Import(instance.Node, instance.FileName)); }