public void Create(List <string> arrCommands) { try { var shape = shapeSelector.Get(arrCommands); shapeRepository.Add(shape); logger.Log($"{shape.Name} created!"); } catch (Exception ex) { logger.Log(ex.Message); ShowCommands(); } }
public void CreateShape(Shape Shape) { ShapesRepository.Add(Shape); SaveShape(); }