AwesomeKiosk.Controllers.StoreController.Edit C# (CSharp) Метод

Edit() приватный Метод

private Edit ( Store store ) : System.Web.Mvc.ActionResult
store AwesomeKiosk.Models.Store
Результат System.Web.Mvc.ActionResult
        public ActionResult Edit(Store store)
        {
            if (ModelState.IsValid)
            {
                db.Entry(store).State = EntityState.Modified;
                db.SaveChanges();
                return RedirectToAction("Index");
            }
            return View(store);
        }

Same methods

StoreController::Edit ( int id ) : System.Web.Mvc.ActionResult