Пример #1
0
        // GET: Videos/Details/5
        public async Task <IActionResult> Details(int?id)
        {
            if (id == null)
            {
                return(NotFound());
            }

            var videos = videoService.GetDetailsById(id);

            if (videos == null)
            {
                return(NotFound());
            }

            return(View(videos));
        }