CMajor.Controllers.AlbumsController.Edit C# (CSharp) Method

Edit() private method

private Edit ( Album album ) : System.Web.Mvc.ActionResult
album Album
return System.Web.Mvc.ActionResult
        public ActionResult Edit(Album album)
        {
            if (ModelState.IsValid)
            {
                DbContext.Entry(album).State = EntityState.Modified;
                return RedirectToAction("Index");
            }
            return View(album);
        }

Same methods

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