public static void Delete(ProductModel product)
 {
     var target = One(p => p.ProductID == product.ProductID);
     if (target != null)
     {
         All().Remove(target);
     }
 }
 public static void Update(ProductModel product)
 {
     var target = One(p => p.ProductID == product.ProductID);
     if (target != null)
     {
         target.ProductName = product.ProductName;
         target.UnitPrice = product.UnitPrice;
         target.UnitsInStock = product.UnitsInStock;
         target.Discontinued = product.Discontinued;                
     }
 }
        public static void Insert(ProductModel product)
        {
												var first = All().OrderByDescending(p => p.ProductID).FirstOrDefault();
												if (first != null)
												{
																product.ProductID = first.ProductID + 1;
												}
												else
												{
																product.ProductID = 0;
												}            

            All().Insert(0, product);
        }