public void AddProduct() { string name = tableOperations.GetString("Enter the name of product"); double price = tableOperations.GetPrice("Enter the price", "The price is incorrect"); var product = new Product(name, price, 0); repository_operations.InsertRecord("Products", product); }