예제 #1
0
 public ActionResult EditProduct(Product product)
 {
     db.Entry(product).State = EntityState.Modified;
     db.SaveChanges();
     return(Redirect("/Product/ShowProducts"));
 }
예제 #2
0
 public void Update(Cart cart)
 {
     db.Entry(cart).State = EntityState.Modified;
 }
예제 #3
0
 public void Update(CartLine cartline)
 {
     db.Entry(cartline).State = EntityState.Modified;
 }
예제 #4
0
 public void Update(Product product)
 {
     db.Entry(product).State = EntityState.Modified;
 }