Exemple #1
0
        // POST: Carts/Edit
        public ActionResult Edit(Cart cart)
        {
            var cp = new CartProcess();

            cp.Edit(cart);
            return(RedirectToAction("Index"));
        }
Exemple #2
0
 public ActionResult Edit([Bind(Include = "Id,Cookie,CartDate,ItemCount,Rowid,CreatedOn,CreatedBy,ChangedOn,ChangedBy")] Cart cart)
 {
     if (ModelState.IsValid)
     {
         cartProcess.Edit(cart);
         return(RedirectToAction("Index"));
     }
     return(View(cart));
 }