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

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult
        public ActionResult Delete(int id)
        {
            Song song = DbContext.Songs.Single(x => x.Id == id);
            return View(song);
        }