public ActionResult VideoDetail(int?Id, string type) { SessionKontrol(); if (_users != null) { if (type != null) { ViewBag.incele = "incele"; } if (Id != null) { var viewModel = _VideoServices.Get(Id); ViewBag.Image = _VideoServices.Get(Id).Thumbnail; return(View(viewModel)); } else { return(View()); } } else { return(RedirectToAction("Index", "Login")); } }