Пример #1
0
        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"));
        }