public Task <Schematic> CreateSchematicAsync(Schematic schematic, string forkedFrom, CancellationToken cancellationToken)
        {
            Schematics.Add(schematic.SchematicName, schematic);

            var machineRecord = Schematics[schematic.SchematicName];

            return(Task.FromResult(machineRecord));
        }
Beispiel #2
0
 public void InsertSchematic(Schematic schematic)
 {
     Schematics.Add(schematic);
 }