// 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)); }
// 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)); }