public ActionResult Details(int id) { // Gets the subtitle model with 'id' Subtitle p = db.GetSubtitleById(id); if (p != null) { return(View(p)); } return(View("NotFound")); }
public ActionResult Details(int id) { // Gets the subtitle model with 'id' Subtitle p = db.GetSubtitleById(id); if (p != null) { return(View(p)); } return(View("NotFound")); }