public ProductsPriceDelete DeleteProductPrice(ProductsPriceDelete productsPriceDelete)
        {
            using (SqlConnection connection = new SqlConnection(connectionString))
            {
                using (SqlCommand command = new SqlCommand("ProcedureInsertProductsPrice", connection))
                {
                    command.CommandType = CommandType.StoredProcedure;

                    command.Parameters.AddWithValue("@ProductPrice", productsPriceDelete.ProductPriceID);

                    connection.Open();
                    command.ExecuteNonQuery();
                }

                return(productsPriceDelete);
            }
        }
 public IActionResult Delete([FromBody] ProductsPriceDelete productsPriceDelete)
 {
     return(Ok(new ProductPricesDataLayer(_configuration).DeleteProductPrice(productsPriceDelete)));
 }