public bool Update(Products originalProduct, Products updatedProduct)
 {
     try
     {
         _ctx.Entry(originalProduct).CurrentValues.SetValues(updatedProduct);
         return true;
     }
     catch
     {
         return false;
     }
 }
 public bool Insert(Products product)
 {
     try
     {
         _ctx.Products.Add(product);
         return true;
     }
     catch
     {
         return false;
     }
 }