public void CreateProduct(Product product)
 {
     context.Products.Add(product);
 }
 public void UpdateProduct(Product product)
 {
     context.Entry(product).State = EntityState.Modified;
 }