public Task <Schematic> CreateSchematicAsync(Schematic schematic, string forkedFrom, CancellationToken cancellationToken) { Schematics.Add(schematic.SchematicName, schematic); var machineRecord = Schematics[schematic.SchematicName]; return(Task.FromResult(machineRecord)); }
public void InsertSchematic(Schematic schematic) { Schematics.Add(schematic); }