public ActionResult EpisodeInfo(string episode) { var model = new TVEpisodeViewModel(episode); if (model.Episode == null) return HttpNotFound(); return Json(model, JsonRequestBehavior.AllowGet); }
public ActionResult Play(string episode) { var model = new TVEpisodeViewModel(episode); if (model.Episode == null) return HttpNotFound(); return View(model); }
public ActionResult Details(string episode) { var model = new TVEpisodeViewModel(episode); if (model.Episode == null) return HttpNotFound(); ViewBag.ShowPlay = model.Episode.Path.Count > 0; return View(model); }