private void Create() { Command = new ProductCategoryCommand(textBox1.Text); CreateHandler.Trigger(Command); }
public void Trigger(ProductCategoryCommand command) { Creator.Create(command.GetName); }