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

Edit() private method

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

Same methods

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